Re: [PR] HIVE-28802: NPE in MiniHS2 with miniHS2.clusterType=LOCALFS_ONLY [hive]

2025-04-11 Thread via GitHub
abstractdog merged PR #5680: URL: https://github.com/apache/hive/pull/5680 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apach

Re: [PR] HIVE-28802: NPE in MiniHS2 with miniHS2.clusterType=LOCALFS_ONLY [hive]

2025-04-11 Thread via GitHub
abstractdog commented on PR #5680: URL: https://github.com/apache/hive/pull/5680#issuecomment-2798521610 merged to master, thanks @SourabhBadhya , @kokila-19 , @aturoczy for the reviews! -- This is an automated message from the Apache Git Service. To respond to the message, please log on

Re: [PR] [WIP] HIVE-28765: Iceberg: Incorrect partition statistics on time travel + partition evolution [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5748: URL: https://github.com/apache/hive/pull/5748#issuecomment-2798513000 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28874 Incorrect comparison in LlapFixedRegistryImpl [hive]

2025-04-11 Thread via GitHub
SourabhBadhya commented on code in PR #5742: URL: https://github.com/apache/hive/pull/5742#discussion_r2040576550 ## llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapFixedRegistryImpl.java: ## @@ -257,7 +257,7 @@ public List getAllInstancesOrdered(boolean cons

Re: [PR] HIVE-28875 Numbers should be compared with equals(), not with == [hive]

2025-04-11 Thread via GitHub
SourabhBadhya commented on PR #5743: URL: https://github.com/apache/hive/pull/5743#issuecomment-2798506927 `equals()` is used to check the object content, `==` does a comparision on the object reference. Using `equals()` is the right programming paradigm. I did a small test for confir

Re: [PR] fix: Ensure consistent test behavior with NonDex by resolving nondeterministic field order [hive]

2025-04-11 Thread via GitHub
SourabhBadhya commented on PR #5765: URL: https://github.com/apache/hive/pull/5765#issuecomment-2798484493 I would consider running a flaky test Jenkins job for determining whether the fix will resolve the issue. Please consider using this Jenkins job - https://ci.hive.apache.org/blue/organ

Re: [PR] HIVE-28644: Iceberg: Add support for SMART OPTIMIZE feature [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5621: URL: https://github.com/apache/hive/pull/5621#issuecomment-2798478311 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] fix: Ensure consistent test behavior with NonDex by resolving nondeterministic field order [hive]

2025-04-11 Thread via GitHub
SourabhBadhya commented on code in PR #5765: URL: https://github.com/apache/hive/pull/5765#discussion_r2040557331 ## serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java: ## @@ -557,6 +558,12 @@ public static StructField getStandardStructFieldRe

Re: [PR] HIVE-28644: Iceberg: Add support for SMART OPTIMIZE feature [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5621: URL: https://github.com/apache/hive/pull/5621#issuecomment-2798362475 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28838: Remove sensitive jdbc properties from explain plan for JdbcStorageHandler tables [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5709: URL: https://github.com/apache/hive/pull/5709#issuecomment-2798305016 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28848:Remove DFS_URI auth from ALTER_PARTITION if there is no ch… [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5766: URL: https://github.com/apache/hive/pull/5766#issuecomment-2798294828 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] [WIP: do not review] HIVE-28712: Fix error wrt maxParts in partition logs [hive]

2025-04-11 Thread via GitHub
github-actions[bot] commented on PR #5635: URL: https://github.com/apache/hive/pull/5635#issuecomment-2798254316 This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the

Re: [PR] fix: Ensure consistent test behavior with NonDex by resolving nondeterministic field order [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5765: URL: https://github.com/apache/hive/pull/5765#issuecomment-2798045756 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28782: Ensure Hive constructs URI's with IPv6 literals safely. [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5758: URL: https://github.com/apache/hive/pull/5758#issuecomment-2798090281 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28170: Implement drop stats [hive]

2025-04-11 Thread via GitHub
soumyakanti3578 commented on code in PR #5721: URL: https://github.com/apache/hive/pull/5721#discussion_r2040232072 ## ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsDropTask.java: ## @@ -0,0 +1,59 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + *

Re: [PR] HIVE-28886: CalcitePlanner throws NullPointerException when column name case in ColumnStatisticsObj differs from the table schema [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5763: URL: https://github.com/apache/hive/pull/5763#issuecomment-2797876074 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28895: Upgrade parquet version to 1.15.1 and maven shade plugin to 3.6.0 [hive]

2025-04-11 Thread via GitHub
difin commented on PR #5762: URL: https://github.com/apache/hive/pull/5762#issuecomment-2797734005 > LGTM. Can you change the title to reflect shade plugin upgrade as well, while merging Sure, done. -- This is an automated message from the Apache Git Service. To respond to the mess

Re: [PR] HIVE-28895: Upgrade parquet version to 1.15.1 and maven shade plugin to 3.6.0 [hive]

2025-04-11 Thread via GitHub
difin merged PR #5762: URL: https://github.com/apache/hive/pull/5762 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

Re: [PR] HIVE-28900: Make the objectstore-secondary connection pool size configurable [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5764: URL: https://github.com/apache/hive/pull/5764#issuecomment-2797737192 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

[PR] fix: Ensure consistent test behavior with NonDex by resolving nondeterministic field order [hive]

2025-04-11 Thread via GitHub
RITIKHARIANI opened a new pull request, #5765: URL: https://github.com/apache/hive/pull/5765 ### What changes were proposed in this pull request? This pull request addresses non-deterministic behavior in the `TestLazyBinaryColumnarSerDe#testLazyBinaryColumnarSerDeWithEmptyBinary`

Re: [PR] HIVE-28658 Add Iceberg REST Catalog client support [hive]

2025-04-11 Thread via GitHub
zratkai commented on code in PR #5628: URL: https://github.com/apache/hive/pull/5628#discussion_r2039683320 ## ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java: ## @@ -5839,13 +5842,33 @@ public HiveMetaHook getHook( } }; +if ("rest".equals(conf.get("me

Re: [PR] HIVE-28782: Ensure Hive constructs URI's with IPv6 literals safely. [hive]

2025-04-11 Thread via GitHub
difin commented on code in PR #5758: URL: https://github.com/apache/hive/pull/5758#discussion_r2039833207 ## standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/common/IPStackUtils.java: ## @@ -0,0 +1,69 @@ +/* + * Licensed to the Apache Software Foundatio

Re: [PR] HIVE-28644: Iceberg: Add support for SMART OPTIMIZE feature [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5621: URL: https://github.com/apache/hive/pull/5621#issuecomment-2797310740 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28895: Upgrade parquet version to 1.15.1 and maven shade plugin to 3.6.0 [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5762: URL: https://github.com/apache/hive/pull/5762#issuecomment-2797269219 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28838: Remove sensitive jdbc properties from explain plan for JdbcStorageHandler tables [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5709: URL: https://github.com/apache/hive/pull/5709#issuecomment-2797124713 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28658 Add Iceberg REST Catalog client support [hive]

2025-04-11 Thread via GitHub
zratkai commented on code in PR #5628: URL: https://github.com/apache/hive/pull/5628#discussion_r2039682557 ## packaging/src/docker/conf/hive-site.xml: ## @@ -60,4 +60,20 @@ metastore.metastore.event.db.notification.api.auth false + +iceberg.c

Re: [PR] HIVE-28658 Add Iceberg REST Catalog client support [hive]

2025-04-11 Thread via GitHub
zratkai commented on code in PR #5628: URL: https://github.com/apache/hive/pull/5628#discussion_r2039681751 ## packaging/src/docker/conf/hive-site.xml: ## @@ -60,4 +60,20 @@ metastore.metastore.event.db.notification.api.auth false + +iceberg.c

Re: [PR] HIVE-28658 Add Iceberg REST Catalog client support [hive]

2025-04-11 Thread via GitHub
zratkai commented on code in PR #5628: URL: https://github.com/apache/hive/pull/5628#discussion_r2039676656 ## standalone-metastore/metastore-common/pom.xml: ## @@ -333,6 +333,27 @@ slf4j-simple test + Review Comment: Iceberg's RESTCatalog needs it ru

Re: [PR] HIVE-28658 Add Iceberg REST Catalog client support [hive]

2025-04-11 Thread via GitHub
zratkai commented on code in PR #5628: URL: https://github.com/apache/hive/pull/5628#discussion_r2039674270 ## packaging/src/docker/conf/hive-site.xml: ## @@ -60,4 +60,20 @@ metastore.metastore.event.db.notification.api.auth false + +iceberg.c

Re: [PR] HIVE-28658 Add Iceberg REST Catalog client support [hive]

2025-04-11 Thread via GitHub
zratkai commented on code in PR #5628: URL: https://github.com/apache/hive/pull/5628#discussion_r2039675203 ## iceberg/iceberg-catalog/src/test/java/org/apache/iceberg/hive/TestHiveCatalog.java: ## @@ -1054,7 +1054,7 @@ public void testSetSnapshotSummary() throws Exception {

Re: [PR] HIVE-28881: Ambiguous column reference is not detected in GROUP BY query. [hive]

2025-04-11 Thread via GitHub
kasakrisz commented on code in PR #5749: URL: https://github.com/apache/hive/pull/5749#discussion_r2038903234 ## ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java: ## @@ -3800,19 +3800,25 @@ private RelNode genGBLogicalPlan(QB qb, RelNode srcRel) throws SemanticEx

[PR] HIVE-28900: Make the objectstore-secondary connection pool size configurable [hive]

2025-04-11 Thread via GitHub
mszurap opened a new pull request, #5764: URL: https://github.com/apache/hive/pull/5764 ### What changes were proposed in this pull request? The secondary connection factory is used for schema generation, and for value generation operations. Under normal circumstances 2 connections sh

Re: [PR] HIVE-27291: Constant reduction in CBO does not work for UNIX_TIMESTAMP [hive]

2025-04-11 Thread via GitHub
kasakrisz merged PR #5757: URL: https://github.com/apache/hive/pull/5757 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.

Re: [PR] HIVE-27291: Constant reduction in CBO does not work for UNIX_TIMESTAMP [hive]

2025-04-11 Thread via GitHub
zabetak commented on code in PR #5757: URL: https://github.com/apache/hive/pull/5757#discussion_r2039517667 ## ql/src/test/queries/clientpositive/cbo_join_transitive_pred_loop_1.q: ## @@ -1,5 +1,8 @@ set hive.optimize.join.disjunctive.transitive.predicates.pushdown=false; +--

Re: [PR] HIVE-27291: Constant reduction in CBO does not work for UNIX_TIMESTAMP [hive]

2025-04-11 Thread via GitHub
zabetak commented on code in PR #5757: URL: https://github.com/apache/hive/pull/5757#discussion_r2039513776 ## ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveUnixTimestampSqlOperator.java: ## @@ -29,13 +29,9 @@ */ public class HiveUnixTimestampSqlOpe

Re: [PR] HIVE-28886: CalcitePlanner throws NullPointerException when column name case in ColumnStatisticsObj differs from the table schema [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5763: URL: https://github.com/apache/hive/pull/5763#issuecomment-2796623720 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28170: Implement drop stats [hive]

2025-04-11 Thread via GitHub
kasakrisz commented on code in PR #5721: URL: https://github.com/apache/hive/pull/5721#discussion_r2039328547 ## ql/src/test/results/clientpositive/llap/drop_histogram_stats_for_columns.q.out: ## @@ -0,0 +1,307 @@ +PREHOOK: query: CREATE TABLE test_stats (a string, b int, c doub

Re: [PR] HIVE-28170: Implement drop stats [hive]

2025-04-11 Thread via GitHub
kasakrisz commented on code in PR #5721: URL: https://github.com/apache/hive/pull/5721#discussion_r2039328547 ## ql/src/test/results/clientpositive/llap/drop_histogram_stats_for_columns.q.out: ## @@ -0,0 +1,307 @@ +PREHOOK: query: CREATE TABLE test_stats (a string, b int, c doub

Re: [PR] HIVE-28843: Iceberg iterators refactor [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5549: URL: https://github.com/apache/hive/pull/5549#issuecomment-2796601172 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28170: Implement drop stats [hive]

2025-04-11 Thread via GitHub
kasakrisz commented on code in PR #5721: URL: https://github.com/apache/hive/pull/5721#discussion_r2039320194 ## ql/src/test/queries/clientpositive/drop_stats_for_columns.q: ## @@ -0,0 +1,36 @@ +create table t1(i int, j int, k int); + +alter table t1 update statistics set('numRo

Re: [PR] HIVE-28170: Implement drop stats [hive]

2025-04-11 Thread via GitHub
kasakrisz commented on code in PR #5721: URL: https://github.com/apache/hive/pull/5721#discussion_r2039317244 ## ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsDropTask.java: ## @@ -0,0 +1,59 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or mor

Re: [PR] WIP: pipeline tests [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5012: URL: https://github.com/apache/hive/pull/5012#issuecomment-2796517682 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28887: Upgrade spotbugs maven plugin to 4.8.6.6 and fix the newly found spotbugs in the active modules [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5754: URL: https://github.com/apache/hive/pull/5754#issuecomment-2796415009 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-28782: Ensure Hive constructs URI's with IPv6 literals safely. [hive]

2025-04-11 Thread via GitHub
ayushtkn commented on code in PR #5758: URL: https://github.com/apache/hive/pull/5758#discussion_r2039155609 ## standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/common/IPStackUtils.java: ## @@ -0,0 +1,69 @@ +/* + * Licensed to the Apache Software Founda

Re: [PR] HIVE-28697: upgrade Jetty to 9.4.56.v20240826 [hive]

2025-04-11 Thread via GitHub
deniskuzZ closed pull request #5599: HIVE-28697: upgrade Jetty to 9.4.56.v20240826 URL: https://github.com/apache/hive/pull/5599 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment.

Re: [PR] HIVE-28697: upgrade Jetty to 9.4.56.v20240826 [hive]

2025-04-11 Thread via GitHub
deniskuzZ commented on PR #5599: URL: https://github.com/apache/hive/pull/5599#issuecomment-2796224120 upgraded in #5720 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To

Re: [PR] HIVE-28856: Remove Jetty-Runner [hive]

2025-04-11 Thread via GitHub
deniskuzZ merged PR #5720: URL: https://github.com/apache/hive/pull/5720 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.

Re: [PR] Hive 28871: Upgrade json-smart and resolve CVE-2024-57699 [hive]

2025-04-11 Thread via GitHub
ramitg254 closed pull request #5747: Hive 28871: Upgrade json-smart and resolve CVE-2024-57699 URL: https://github.com/apache/hive/pull/5747 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the speci

Re: [PR] HIVE-28881: Ambiguous column reference is not detected in GROUP BY query. [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5749: URL: https://github.com/apache/hive/pull/5749#issuecomment-2796152380 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-27291: Constant reduction in CBO does not work for UNIX_TIMESTAMP [hive]

2025-04-11 Thread via GitHub
kasakrisz commented on code in PR #5757: URL: https://github.com/apache/hive/pull/5757#discussion_r2039016434 ## ql/src/test/queries/clientpositive/cbo_join_transitive_pred_loop_1.q: ## @@ -1,5 +1,8 @@ set hive.optimize.join.disjunctive.transitive.predicates.pushdown=false; +

Re: [PR] HIVE-27291: Constant reduction in CBO does not work for UNIX_TIMESTAMP [hive]

2025-04-11 Thread via GitHub
kasakrisz commented on code in PR #5757: URL: https://github.com/apache/hive/pull/5757#discussion_r2039009489 ## ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveUnixTimestampSqlOperator.java: ## @@ -29,13 +29,9 @@ */ public class HiveUnixTimestampSqlO

Re: [PR] HIVE-27291: Constant reduction in CBO does not work for UNIX_TIMESTAMP [hive]

2025-04-11 Thread via GitHub
sonarqubecloud[bot] commented on PR #5757: URL: https://github.com/apache/hive/pull/5757#issuecomment-2796104356 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcl

Re: [PR] HIVE-27291: Constant reduction in CBO does not work for UNIX_TIMESTAMP [hive]

2025-04-11 Thread via GitHub
zabetak commented on code in PR #5757: URL: https://github.com/apache/hive/pull/5757#discussion_r2038947469 ## ql/src/test/queries/clientpositive/cbo_join_transitive_pred_loop_1.q: ## @@ -1,5 +1,8 @@ set hive.optimize.join.disjunctive.transitive.predicates.pushdown=false; +--