Skip to content

Commit e48a96a

Browse files
morningmanclaude
andcommitted
[fix](catalog) port apache#65955's paimon table-option passthrough + jni.* rename to the connector
Rebase branch-catalog-spi onto upstream-apache/master 042e613 (6 upstream commits, 63 local commits replayed). Only apache#65955 "Support Paimon table option passthrough" touched fe-core external tables; its 5 fe-core files were deleted or stripped by P5/T29, producing one content conflict (union: upstream's initNormalizeAndCheckProps vs our initHdfsExecutionAuthenticator), one keep-ours conflict (T29 makes fe-core paimon-SDK-free), and four modify/delete conflicts resolved by keeping the deletion. Two capabilities had to move into fe-connector-paimon: 1. paimon.table-option.* passthrough. New PaimonTableOptions ports the AbstractPaimonProperties members T29 deleted (TABLE_OPTION_PREFIX, extractTableOptions, validateTableOption, getTableOptionsForCopy, SupportedTableOptions). Wired at the three points the fe-core class covered: excluded from the catalog Options passthrough (PaimonCatalogFactory), fail-fast at CREATE/ALTER CATALOG (PaimonConnectorProvider.validateProperties, since the SPI path never runs initNormalizeAndCheckProps), and overlaid on table load (CatalogBackedPaimonCatalogOps.getTable -- the connector's only Catalog.getTable, matching where PaimonExternalCatalog.getPaimonTable applied it, so branch/time-travel/system tables and the serialized table shipped to BE all inherit it). Upstream's matching notifyPropertiesUpdated change needs no port: PluginDrivenExternalCatalog resets the whole connector on any property change, and the PaimonExternalMetaCache it invalidated is already deleted. 2. JNI IOManager namespace rename, which was a SILENT break. apache#65955 moved paimon.doris.* -> paimon.jni.* on both sides at once; the BE files (paimon_jni_reader.cpp x2) and PaimonJniScanner auto-merged to the new names while the FE mirror list lives in PaimonScanPlanProvider (legacy PaimonScanNode being deleted), so FE kept emitting doris.* against a BE that only reads jni.* -- compiling, merging and testing clean while the IOManager silently never engaged. Also drops jni.enable_file_reader_async, retired upstream along with the scanner's table.copy(buildTableOptions(..)); the equivalent knob is now paimon.table-option.file-reader-async-threshold. Tests: new PaimonTableOptionsTest (11, mirroring upstream's AbstractPaimonPropertiesTest table-option cases plus the connector-specific wirings and two real local FileSystemCatalog getTable cases); PaimonScanPlanProviderTest key names updated and the file-reader-async forwarding test inverted into a retirement guard. Module 393/393 (1 pre-existing live-connectivity skip), checkstyle 0, full FE install BUILD SUCCESS. Five mutations verified RED: reverting a key to doris.*, dropping the validateProperties extract, returning getTable unchanged, dropping the catalog Options exclusion, and comparing raw keys in forCopy. e2e (not run here): apache#66065's new suites assert exception "PaimonExternalCatalog", which is the legacy UnboundTableSinkCreator message. On this branch paimon is a PluginDrivenExternalCatalog, so the rejection comes from the connector's write capabilities instead; test_paimon_write_boundary and test_paimon_ctas_atomicity_negative updated accordingly. The UPDATE/DELETE/MERGE assertions in the same suite are unchanged -- paimon declares no DELETE/MERGE, so they still fall back to the legacy messages. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
1 parent 8aec723 commit e48a96a

11 files changed

Lines changed: 549 additions & 36 deletions

File tree

‎fe/fe-connector/fe-connector-paimon/src/main/java/org/apache/doris/connector/paimon/PaimonCatalogFactory.java‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,17 @@ private static void appendCommonOptions(Map<String, String> props, Options optio
134134

135135
// FIXME(cmy): Rethink these custom properties (ported from AbstractPaimonProperties).
136136
// Re-key generic paimon.* props by stripping the prefix, excluding storage prefixes which
137-
// belong in the Hadoop Configuration (see buildHadoopConfiguration).
137+
// belong in the Hadoop Configuration (see buildHadoopConfiguration). #65955 also excludes the
138+
// paimon.table-option.* (a per-TABLE option, applied on table load -- see PaimonTableOptions)
139+
// and paimon.jni.* (a BE scanner knob, forwarded by PaimonScanPlanProvider) namespaces, which
140+
// are not catalog Options and would otherwise leak in as unknown catalog config.
138141
props.forEach((k, v) -> {
139142
if (k.toLowerCase(Locale.ROOT).startsWith(USER_PROPERTY_PREFIX)) {
140143
String newKey = k.substring(USER_PROPERTY_PREFIX.length());
141-
if (StringUtils.isNotBlank(newKey) && !isStoragePrefixed(k)) {
144+
boolean excluded = isStoragePrefixed(k)
145+
|| PaimonTableOptions.isTableOptionProperty(k)
146+
|| PaimonTableOptions.isJniProperty(k);
147+
if (StringUtils.isNotBlank(newKey) && !excluded) {
142148
options.set(newKey, v);
143149
}
144150
}

‎fe/fe-connector/fe-connector-paimon/src/main/java/org/apache/doris/connector/paimon/PaimonCatalogOps.java‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import org.apache.paimon.types.DataField;
3333

3434
import java.io.FileNotFoundException;
35+
import java.util.Collections;
3536
import java.util.List;
3637
import java.util.Map;
3738
import java.util.Optional;
@@ -235,9 +236,16 @@ public List<String> primaryKeys() {
235236
*/
236237
class CatalogBackedPaimonCatalogOps implements PaimonCatalogOps {
237238
private final Catalog catalog;
239+
/** Extracted {@code paimon.table-option.*} catalog defaults; empty when none are configured. */
240+
private final Map<String, String> tableOptions;
238241

239242
public CatalogBackedPaimonCatalogOps(Catalog catalog) {
243+
this(catalog, Collections.emptyMap());
244+
}
245+
246+
public CatalogBackedPaimonCatalogOps(Catalog catalog, Map<String, String> tableOptions) {
240247
this.catalog = catalog;
248+
this.tableOptions = tableOptions;
241249
}
242250

243251
@Override
@@ -255,9 +263,20 @@ public List<String> listTables(String databaseName) throws Catalog.DatabaseNotEx
255263
return catalog.listTables(databaseName);
256264
}
257265

266+
/**
267+
* #65955: overlay the catalog-level {@code paimon.table-option.*} defaults onto the loaded
268+
* table, exactly where legacy {@code PaimonExternalCatalog.getPaimonTable} did — this is the
269+
* connector's only {@code Catalog.getTable} call, so branch, time-travel and system tables all
270+
* inherit the defaults. Options the table sets itself win (see {@link PaimonTableOptions#forCopy}).
271+
*/
258272
@Override
259273
public Table getTable(Identifier identifier) throws Catalog.TableNotExistException {
260-
return catalog.getTable(identifier);
274+
Table table = catalog.getTable(identifier);
275+
if (tableOptions.isEmpty()) {
276+
return table;
277+
}
278+
Map<String, String> optionsForCopy = PaimonTableOptions.forCopy(tableOptions, table.options());
279+
return optionsForCopy.isEmpty() ? table : table.copy(optionsForCopy);
261280
}
262281

263282
@Override

‎fe/fe-connector/fe-connector-paimon/src/main/java/org/apache/doris/connector/paimon/PaimonConnector.java‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,13 @@ public class PaimonConnector implements Connector {
143143
// a live connector (only PaimonConnectorMetadata's convenience/test constructors pass null).
144144
private final ConnectorMetadataCache<List<ConnectorPartitionInfo>> partitionViewCache;
145145

146+
// #65955: the catalog-level paimon.table-option.* defaults, extracted (and re-validated) once per
147+
// connector and overlaid on every table load by CatalogBackedPaimonCatalogOps.getTable.
148+
private final Map<String, String> tableOptions;
149+
146150
public PaimonConnector(Map<String, String> properties, ConnectorContext context) {
147151
this.properties = properties;
152+
this.tableOptions = PaimonTableOptions.extract(properties);
148153
// Wrap the FE-injected context so every executeAuthenticated pins the TCCL to the plugin loader (the
149154
// paimon plugin bundles paimon-core + hadoop child-first) and, for a Kerberos catalog, runs the op
150155
// under a plugin-side UGI doAs (pluginAuthenticator): the plugin's FileSystem reads the plugin's own
@@ -244,8 +249,8 @@ private static long resolveTableCacheTtlSecond(Map<String, String> properties) {
244249
@Override
245250
public ConnectorMetadata getMetadata(ConnectorSession session) {
246251
return new PaimonConnectorMetadata(
247-
new PaimonCatalogOps.CatalogBackedPaimonCatalogOps(ensureCatalog()), properties, context,
248-
schemaAtMemo, latestSnapshotCache, partitionViewCache);
252+
new PaimonCatalogOps.CatalogBackedPaimonCatalogOps(ensureCatalog(), tableOptions),
253+
properties, context, schemaAtMemo, latestSnapshotCache, partitionViewCache);
249254
}
250255

251256
@Override
@@ -309,7 +314,8 @@ public ConnectorScanPlanProvider getScanPlanProvider() {
309314
// FIX-B-R2-be: inject the SAME per-catalog schemaAtMemo getMetadata uses, so the schema-evolution
310315
// dict's per-schema-id reads are memoized across scans (and shared with the B-MC2 time-travel path).
311316
return new PaimonScanPlanProvider(properties,
312-
new PaimonCatalogOps.CatalogBackedPaimonCatalogOps(ensureCatalog()), context, schemaAtMemo);
317+
new PaimonCatalogOps.CatalogBackedPaimonCatalogOps(ensureCatalog(), tableOptions),
318+
context, schemaAtMemo);
313319
}
314320

315321
/**

‎fe/fe-connector/fe-connector-paimon/src/main/java/org/apache/doris/connector/paimon/PaimonConnectorProvider.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ public Connector create(Map<String, String> properties, ConnectorContext context
7979
public void validateProperties(Map<String, String> properties) {
8080
checkMetaCacheProperties(properties);
8181
warnIgnoredDeadTableCacheKeys(properties);
82+
// #65955: an unknown or unparseable paimon.table-option.* must fail the CREATE/ALTER CATALOG.
83+
// Upstream got this from AbstractPaimonProperties.initNormalizeAndCheckProps(), which the SPI
84+
// path no longer runs; validateProperties is this path's fail-fast hook.
85+
PaimonTableOptions.extract(properties);
8286
MetaStoreProviders.bind(properties, Collections.emptyMap()).validate();
8387
}
8488

‎fe/fe-connector/fe-connector-paimon/src/main/java/org/apache/doris/connector/paimon/PaimonScanPlanProvider.java‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,14 +1226,16 @@ static String serializePartitionValue(DataType type, Object value, String timeZo
12261226
// filesystem/hive-metastore case) need withIOManager to spill through the Paimon IOManager;
12271227
// BE's PaimonJniScanner enables it only when FE ships these keys. Catalog properties carry the
12281228
// connector "paimon." prefix (e.g. properties.get("paimon.catalog.type")); the prefix is stripped
1229-
// so BE receives doris.enable_jni_io_manager etc. (BE re-adds the paimon. prefix).
1229+
// so BE receives jni.enable_jni_io_manager etc. (BE re-adds the paimon. prefix).
1230+
// #65955 moved this namespace from paimon.doris.* to paimon.jni.*, on BOTH sides at once
1231+
// (paimon_jni_reader.cpp x2 + PaimonJniScanner), and dropped jni.enable_file_reader_async along
1232+
// with the JNI scanner's table.copy(buildTableOptions(..)) that consumed it -- the equivalent knob
1233+
// is now the catalog-level "paimon.table-option.file-reader-async-threshold" (PaimonTableOptions).
12301234
private static final String PAIMON_PROPERTY_PREFIX = "paimon.";
12311235
private static final List<String> BACKEND_PAIMON_JNI_OPTIONS = Arrays.asList(
1232-
"doris.enable_jni_io_manager",
1233-
"doris.jni_io_manager.tmp_dir",
1234-
"doris.jni_io_manager.impl_class",
1235-
// #65365: user opt-out of paimon's async file reader (BE reads paimon.jni.enable_file_reader_async).
1236-
"jni.enable_file_reader_async");
1236+
"jni.enable_jni_io_manager",
1237+
"jni.io_manager.tmp_dir",
1238+
"jni.io_manager.impl_class");
12371239

12381240
// Package-private for direct unit testing (PaimonScanPlanProviderTest).
12391241
Map<String, String> getBackendPaimonOptions() {
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
17+
18+
package org.apache.doris.connector.paimon;
19+
20+
import org.apache.commons.lang3.StringUtils;
21+
import org.apache.paimon.CoreOptions;
22+
import org.apache.paimon.options.ConfigOption;
23+
import org.apache.paimon.options.FallbackKey;
24+
import org.apache.paimon.options.Options;
25+
26+
import java.util.Collections;
27+
import java.util.HashMap;
28+
import java.util.LinkedHashMap;
29+
import java.util.Locale;
30+
import java.util.Map;
31+
32+
/**
33+
* The {@code paimon.table-option.*} catalog-property namespace (upstream #65955): a catalog-level
34+
* default for any Paimon {@link CoreOptions} table option, e.g.
35+
* {@code "paimon.table-option.read.batch-size" = "4096"}.
36+
*
37+
* <p>Ports the fe-core {@code AbstractPaimonProperties} table-option members deleted by P5-T29
38+
* ({@code TABLE_OPTION_PREFIX}, {@code extractTableOptions}, {@code validateTableOption},
39+
* {@code getTableOptionsForCopy}, {@code SupportedTableOptions}) into the connector, which is the
40+
* only paimon path left. Kept in fe-connector-paimon (not fe-connector-metastore-paimon) for the
41+
* same reason {@link PaimonCatalogFactory} holds the ported {@code appendCatalogOptions}: every
42+
* consumer — validate at CREATE CATALOG, exclude from the catalog Options passthrough, apply on
43+
* table load — lives in this module, and no metastore flavor needs it.
44+
*/
45+
public final class PaimonTableOptions {
46+
47+
/** The suffix after this prefix is passed to Paimon as a dynamic table option. */
48+
public static final String TABLE_OPTION_PREFIX = "paimon.table-option.";
49+
50+
/** BE/JNI-scanner knobs; consumed by {@link PaimonScanPlanProvider}, never a catalog Option. */
51+
public static final String JNI_PROPERTY_PREFIX = "paimon.jni.";
52+
53+
/** Canonical and fallback {@link CoreOptions} names which support direct lookup. */
54+
private static final Map<String, ConfigOption<?>> SUPPORTED_TABLE_OPTIONS = buildSupportedTableOptions();
55+
56+
private PaimonTableOptions() {
57+
}
58+
59+
public static boolean isTableOptionProperty(String key) {
60+
return key.toLowerCase(Locale.ROOT).startsWith(TABLE_OPTION_PREFIX);
61+
}
62+
63+
public static boolean isJniProperty(String key) {
64+
return key.toLowerCase(Locale.ROOT).startsWith(JNI_PROPERTY_PREFIX);
65+
}
66+
67+
/**
68+
* Strips {@link #TABLE_OPTION_PREFIX} off every table-option property and validates each one
69+
* against the bundled Paimon version, so a typo or a bad value fails the CREATE/ALTER CATALOG
70+
* instead of surfacing later as a query error.
71+
*
72+
* @throws IllegalArgumentException on an empty, unknown, or unparseable option
73+
*/
74+
public static Map<String, String> extract(Map<String, String> props) {
75+
Map<String, String> tableOptions = new LinkedHashMap<>();
76+
props.forEach((key, value) -> {
77+
if (isTableOptionProperty(key)) {
78+
String tableOptionKey = key.substring(TABLE_OPTION_PREFIX.length());
79+
if (StringUtils.isBlank(tableOptionKey)) {
80+
throw new IllegalArgumentException(
81+
"Paimon table option name must not be empty after prefix " + TABLE_OPTION_PREFIX);
82+
}
83+
validate(tableOptionKey, value);
84+
tableOptions.put(tableOptionKey, value);
85+
}
86+
});
87+
return Collections.unmodifiableMap(tableOptions);
88+
}
89+
90+
/**
91+
* Narrows {@code tableOptions} to those the Paimon table does not already set itself, i.e. the
92+
* catalog-level default only fills a gap and never overrides an explicit table property.
93+
*
94+
* <p>The comparison goes through the Paimon {@link ConfigOption}, so canonical and fallback keys
95+
* follow the same precedence rule.
96+
*/
97+
public static Map<String, String> forCopy(Map<String, String> tableOptions,
98+
Map<String, String> currentTableOptions) {
99+
if (tableOptions.isEmpty() || currentTableOptions.isEmpty()) {
100+
return tableOptions;
101+
}
102+
103+
Options existingOptions = new Options(currentTableOptions);
104+
Map<String, String> optionsForCopy = new LinkedHashMap<>();
105+
tableOptions.forEach((key, value) -> {
106+
ConfigOption<?> option = SUPPORTED_TABLE_OPTIONS.get(key);
107+
if (!existingOptions.contains(option)) {
108+
optionsForCopy.put(key, value);
109+
}
110+
});
111+
return Collections.unmodifiableMap(optionsForCopy);
112+
}
113+
114+
private static void validate(String key, String value) {
115+
ConfigOption<?> option = SUPPORTED_TABLE_OPTIONS.get(key);
116+
if (option == null) {
117+
throw new IllegalArgumentException("Unsupported Paimon table option '" + key
118+
+ "' for the bundled Paimon version");
119+
}
120+
121+
try {
122+
new Options(Collections.singletonMap(key, value)).get(option);
123+
} catch (IllegalArgumentException e) {
124+
throw new IllegalArgumentException("Invalid value for Paimon table option '" + key + "': "
125+
+ e.getMessage(), e);
126+
}
127+
}
128+
129+
private static Map<String, ConfigOption<?>> buildSupportedTableOptions() {
130+
Map<String, ConfigOption<?>> exactOptions = new HashMap<>();
131+
for (ConfigOption<?> option : CoreOptions.getOptions()) {
132+
exactOptions.put(option.key(), option);
133+
for (FallbackKey fallbackKey : option.fallbackKeys()) {
134+
exactOptions.put(fallbackKey.getKey(), option);
135+
}
136+
}
137+
return Collections.unmodifiableMap(exactOptions);
138+
}
139+
}

‎fe/fe-connector/fe-connector-paimon/src/test/java/org/apache/doris/connector/paimon/PaimonScanPlanProviderTest.java‎

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,28 +1951,32 @@ public void backendOptionsForwardJniIoManagerRegardlessOfMetastore() {
19511951
// filesystem (non-jdbc) metastore: the common Paimon primary-key merge-read case #65332
19521952
// targets. The three JNI IOManager options MUST still reach BE.
19531953
props.put("paimon.catalog.type", "filesystem");
1954-
props.put("paimon.doris.enable_jni_io_manager", "true");
1955-
props.put("paimon.doris.jni_io_manager.tmp_dir", "/tmp/doris-paimon");
1956-
props.put("paimon.doris.jni_io_manager.impl_class", "org.example.CustomIOManager");
1954+
props.put("paimon.jni.enable_jni_io_manager", "true");
1955+
props.put("paimon.jni.io_manager.tmp_dir", "/tmp/doris-paimon");
1956+
props.put("paimon.jni.io_manager.impl_class", "org.example.CustomIOManager");
19571957
PaimonScanPlanProvider provider = new PaimonScanPlanProvider(
19581958
props, new RecordingPaimonCatalogOps(), envContext(Collections.emptyMap()));
19591959

19601960
Map<String, String> opts = provider.getBackendPaimonOptions();
19611961

19621962
// WHY (#65332): BE's PaimonJniScanner spills through the Paimon IOManager only when FE ships
1963-
// doris.enable_jni_io_manager (BE re-adds the paimon. prefix). Before the fix a non-jdbc
1963+
// jni.enable_jni_io_manager (BE re-adds the paimon. prefix). Before the fix a non-jdbc
19641964
// catalog returned emptyMap(), so the flag never reached BE and primary-key merge reads
19651965
// could OOM. The "paimon." connector prefix must be stripped exactly once.
1966-
// MUTATION: gating the JNI collection behind the jdbc check (or dropping the prefix strip)
1967-
// -> keys absent/misnamed -> red.
1968-
Assertions.assertEquals("true", opts.get("doris.enable_jni_io_manager"));
1969-
Assertions.assertEquals("/tmp/doris-paimon", opts.get("doris.jni_io_manager.tmp_dir"));
1970-
Assertions.assertEquals("org.example.CustomIOManager", opts.get("doris.jni_io_manager.impl_class"));
1966+
// WHY these exact names (#65955): the namespace moved paimon.doris.* -> paimon.jni.* on BOTH
1967+
// sides simultaneously, and BE (paimon_jni_reader.cpp / PaimonJniScanner.ENABLE_JNI_IO_MANAGER)
1968+
// now reads ONLY paimon.jni.*. Keeping the old spelling here compiles and merges cleanly but
1969+
// silently disables the IOManager — so the literals are the contract, not an implementation detail.
1970+
// MUTATION: gating the JNI collection behind the jdbc check, dropping the prefix strip, or
1971+
// reverting any key to doris.* -> keys absent/misnamed -> red.
1972+
Assertions.assertEquals("true", opts.get("jni.enable_jni_io_manager"));
1973+
Assertions.assertEquals("/tmp/doris-paimon", opts.get("jni.io_manager.tmp_dir"));
1974+
Assertions.assertEquals("org.example.CustomIOManager", opts.get("jni.io_manager.impl_class"));
19711975
Assertions.assertEquals(3, opts.size());
19721976
}
19731977

19741978
@Test
1975-
public void backendOptionsForwardFileReaderAsyncOptOut() {
1979+
public void backendOptionsDropRetiredFileReaderAsyncOptOut() {
19761980
Map<String, String> props = new HashMap<>();
19771981
props.put("paimon.catalog.type", "filesystem");
19781982
props.put("paimon.jni.enable_file_reader_async", "false");
@@ -1981,13 +1985,14 @@ public void backendOptionsForwardFileReaderAsyncOptOut() {
19811985

19821986
Map<String, String> opts = provider.getBackendPaimonOptions();
19831987

1984-
// WHY (#65365): BE's PaimonJniScanner disables paimon's async file reader only when FE ships
1985-
// jni.enable_file_reader_async=false (BE re-adds the paimon. prefix). Upstream added the key to
1986-
// the legacy PaimonScanNode forwarding list, which this branch deleted with the fe-core paimon
1987-
// subsystem — the connector list is now the only path to BE.
1988-
// MUTATION: dropping the key from BACKEND_PAIMON_JNI_OPTIONS -> flag never reaches BE -> red.
1989-
Assertions.assertEquals("false", opts.get("jni.enable_file_reader_async"));
1990-
Assertions.assertEquals(1, opts.size());
1988+
// WHY (#65365 -> #65955): the opt-out was forwarded while BE's PaimonJniScanner still applied
1989+
// table.copy(buildTableOptions(..)); #65955 deleted that override wholesale, so the key is now
1990+
// consumed by nobody and the equivalent knob is the catalog-level table option
1991+
// "paimon.table-option.file-reader-async-threshold" (PaimonTableOptions). Forwarding a key BE
1992+
// ignores would advertise an opt-out that silently does nothing.
1993+
// MUTATION: re-adding jni.enable_file_reader_async to BACKEND_PAIMON_JNI_OPTIONS (e.g. a future
1994+
// rebase re-porting #65365) -> non-empty -> red.
1995+
Assertions.assertTrue(opts.isEmpty());
19911996
}
19921997

19931998
// ---- FIX-SCHEMA-EVOLUTION (B-1a): native-reader schema dictionary ----

0 commit comments

Comments
 (0)