Skip to content

Commit a573191

Browse files
committed
# Conflicts: # iceberg/iceberg-handler/src/test/results/positive/llap/iceberg_major_compaction_partition_evolution_w_id_spec_w_filter.q.out
2 parents 26d22d0 + dee6546 commit a573191

File tree

309 files changed

+13267
-3585
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

309 files changed

+13267
-3585
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
- 'master'
2626

2727
env:
28-
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
28+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
2929

3030
jobs:
3131
macos-jdk8:

.github/workflows/docker-GA-images.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737
default: '0.10.2'
3838

3939
env:
40-
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
40+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
4141

4242
jobs:
4343
buildFromArchive:

.mvn/develocity.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
<develocity
2424
xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2525
xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
26+
<projectId>hive</projectId>
2627
<server>
27-
<url>https://ge.apache.org</url>
28+
<url>https://develocity.apache.org</url>
2829
<allowUntrusted>false</allowUntrusted>
2930
</server>
3031
<buildScan>

.mvn/extensions.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
<extension>
2525
<groupId>com.gradle</groupId>
2626
<artifactId>develocity-maven-extension</artifactId>
27-
<version>1.21.4</version>
27+
<version>1.22.2</version>
2828
</extension>
2929
<extension>
3030
<groupId>com.gradle</groupId>
3131
<artifactId>common-custom-user-data-maven-extension</artifactId>
32-
<version>2.0</version>
32+
<version>2.0.1</version>
3333
</extension>
3434
</extensions>

common/src/java/org/apache/hadoop/hive/conf/HiveConf.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -1867,13 +1867,12 @@ public static enum ConfVars {
18671867
+ "execution engine doesn't take advantage of statistics stored in the cache."),
18681868
// CBO related
18691869
HIVE_CBO_ENABLED("hive.cbo.enable", true, "Flag to control enabling Cost Based Optimizations using Calcite framework."),
1870-
HIVE_CBO_FALLBACK_STRATEGY("hive.cbo.fallback.strategy", "CONSERVATIVE",
1871-
new StringSet(true, "NEVER", "CONSERVATIVE", "ALWAYS", "TEST"),
1870+
HIVE_CBO_FALLBACK_STRATEGY("hive.cbo.fallback.strategy", "NEVER",
1871+
new StringSet(true, "NEVER", "CONSERVATIVE", "ALWAYS"),
18721872
"The strategy defines when Hive fallbacks to legacy optimizer when CBO fails:"
18731873
+ "NEVER, never use the legacy optimizer (all CBO errors are fatal);"
18741874
+ "ALWAYS, always use the legacy optimizer (CBO errors are not fatal);"
1875-
+ "CONSERVATIVE, use the legacy optimizer only when the CBO error is not related to subqueries and views;"
1876-
+ "TEST, specific behavior only for tests, do not use in production"),
1875+
+ "CONSERVATIVE, use the legacy optimizer only when the CBO error is not related to subqueries and views."),
18771876
HIVE_CBO_CNF_NODES_LIMIT("hive.cbo.cnf.maxnodes", -1, "When converting to conjunctive normal form (CNF), fail if" +
18781877
"the expression exceeds this threshold; the threshold is expressed in terms of number of nodes (leaves and" +
18791878
"interior nodes). -1 to not set up a threshold."),
@@ -2240,7 +2239,8 @@ public static enum ConfVars {
22402239
"If this is set to true the URI for auth will have the default location masked with DEFAULT_TABLE_LOCATION"),
22412240
HIVE_ICEBERG_ALLOW_DATAFILES_IN_TABLE_LOCATION_ONLY("hive.iceberg.allow.datafiles.in.table.location.only", false,
22422241
"If this is set to true, then all the data files being read should be withing the table location"),
2243-
2242+
HIVE_ICEBERG_COMPACTION_TARGET_FILE_SIZE("hive.iceberg.compaction.target.file.size", "128mb",
2243+
new SizeValidator(), "Target file size for Iceberg compaction."),
22442244
HIVE_USE_EXPLICIT_RCFILE_HEADER("hive.exec.rcfile.use.explicit.header", true,
22452245
"If this is set the header for RCFiles will simply be RCF. If this is not\n" +
22462246
"set the header will be that borrowed from sequence files, e.g. SEQ- followed\n" +
@@ -4541,7 +4541,7 @@ public static enum ConfVars {
45414541
"If enabled, HiveServer2 will block any requests made to it over http " +
45424542
"if an X-CSRF-TOKEN header is not present"),
45434543
HIVE_SECURITY_COMMAND_WHITELIST("hive.security.command.whitelist",
4544-
"set,reset,dfs,add,list,delete,reload,compile,llap",
4544+
"set,reset,dfs,add,list,delete,reload,compile,llap,processlist",
45454545
"Comma separated list of non-SQL Hive commands users are authorized to execute"),
45464546
HIVE_SERVER2_JOB_CREDENTIAL_PROVIDER_PATH("hive.server2.job.credential.provider.path", "",
45474547
"If set, this configuration property should provide a comma-separated list of URLs that indicates the type and " +

data/conf/hive-site.xml

+1-6
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,7 @@
325325
<name>hive.scheduled.queries.executor.enabled</name>
326326
<value>false</value>
327327
</property>
328-
329-
<property>
330-
<name>hive.cbo.fallback.strategy</name>
331-
<value>TEST</value>
332-
</property>
333-
328+
334329
<property>
335330
<name>iceberg.hive.keep.stats</name>
336331
<value>true</value>

data/conf/iceberg/llap/hive-site.xml

-5
Original file line numberDiff line numberDiff line change
@@ -374,11 +374,6 @@
374374
<value>query</value>
375375
</property>
376376

377-
<property>
378-
<name>hive.cbo.fallback.strategy</name>
379-
<value>TEST</value>
380-
</property>
381-
382377
<property>
383378
<name>iceberg.hive.keep.stats</name>
384379
<value>true</value>

data/conf/iceberg/tez/hive-site.xml

-5
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,6 @@
298298
<value>query</value>
299299
</property>
300300

301-
<property>
302-
<name>hive.cbo.fallback.strategy</name>
303-
<value>TEST</value>
304-
</property>
305-
306301
<property>
307302
<name>iceberg.hive.keep.stats</name>
308303
<value>true</value>

data/conf/llap/hive-site.xml

-5
Original file line numberDiff line numberDiff line change
@@ -388,11 +388,6 @@
388388
<value>false</value>
389389
</property>
390390

391-
<property>
392-
<name>hive.cbo.fallback.strategy</name>
393-
<value>TEST</value>
394-
</property>
395-
396391
<property>
397392
<name>hive.txn.xlock.ctas</name>
398393
<value>false</value>

data/conf/mr/hive-site.xml

-5
Original file line numberDiff line numberDiff line change
@@ -322,11 +322,6 @@
322322
<value>false</value>
323323
</property>
324324

325-
<property>
326-
<name>hive.cbo.fallback.strategy</name>
327-
<value>TEST</value>
328-
</property>
329-
330325
<property>
331326
<name>iceberg.hive.keep.stats</name>
332327
<value>true</value>

data/conf/tez/hive-site.xml

-5
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,6 @@
304304
<value>query</value>
305305
</property>
306306

307-
<property>
308-
<name>hive.cbo.fallback.strategy</name>
309-
<value>TEST</value>
310-
</property>
311-
312307
<property>
313308
<name>hive.txn.xlock.ctas</name>
314309
<value>false</value>

iceberg/checkstyle/checkstyle.xml

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
org.apache.iceberg.MetadataTableType.*,
128128
org.apache.iceberg.SortDirection.*,
129129
org.apache.iceberg.TableProperties.*,
130+
org.apache.iceberg.SnapshotSummary.*,
130131
org.apache.iceberg.types.Type.*,
131132
org.apache.iceberg.types.Types.NestedField.*,
132133
org.apache.parquet.schema.OriginalType.*,

0 commit comments

Comments
 (0)