[jira] [Updated] (HIVE-28256) Iceberg: Major QB Compaction on partition level with evolution

2024-05-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-28256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HIVE-28256:
--
Labels: pull-request-available  (was: )

> Iceberg: Major QB Compaction on partition level with evolution
> --
>
> Key: HIVE-28256
> URL: https://issues.apache.org/jira/browse/HIVE-28256
> Project: Hive
>  Issue Type: Improvement
>Reporter: Dmitriy Fingerman
>Assignee: Dmitriy Fingerman
>Priority: Major
>  Labels: pull-request-available
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (HIVE-28256) Iceberg: Major QB Compaction on partition level with evolution

2024-05-13 Thread Dmitriy Fingerman (Jira)
Dmitriy Fingerman created HIVE-28256:


 Summary: Iceberg: Major QB Compaction on partition level with 
evolution
 Key: HIVE-28256
 URL: https://issues.apache.org/jira/browse/HIVE-28256
 Project: Hive
  Issue Type: Improvement
Reporter: Dmitriy Fingerman
Assignee: Dmitriy Fingerman






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (HIVE-28255) Upgrade JLine to 3.x as 2.x is EOL.

2024-05-13 Thread Naveen Gangam (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-28255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Naveen Gangam resolved HIVE-28255.
--
Fix Version/s: Not Applicable
   Resolution: Duplicate

> Upgrade JLine to 3.x as 2.x is EOL.
> ---
>
> Key: HIVE-28255
> URL: https://issues.apache.org/jira/browse/HIVE-28255
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Naveen Gangam
>Priority: Major
> Fix For: Not Applicable
>
>
> Hive's Beeline uses JLine 2.14.x release which is EOL. We need to move to the 
> latest JLine version or atleast 3.25.1.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HIVE-28255) Upgrade JLine to 3.x as 2.x is EOL.

2024-05-13 Thread Naveen Gangam (Jira)


[ 
https://issues.apache.org/jira/browse/HIVE-28255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845980#comment-17845980
 ] 

Naveen Gangam commented on HIVE-28255:
--

Yes, Thank you. Closing this as dup. Looks like the other one has PR that has 
gone stale as well.

> Upgrade JLine to 3.x as 2.x is EOL.
> ---
>
> Key: HIVE-28255
> URL: https://issues.apache.org/jira/browse/HIVE-28255
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Naveen Gangam
>Priority: Major
>
> Hive's Beeline uses JLine 2.14.x release which is EOL. We need to move to the 
> latest JLine version or atleast 3.25.1.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HIVE-28255) Upgrade JLine to 3.x as 2.x is EOL.

2024-05-13 Thread Ayush Saxena (Jira)


[ 
https://issues.apache.org/jira/browse/HIVE-28255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17845933#comment-17845933
 ] 

Ayush Saxena commented on HIVE-28255:
-

Dupes: HIVE-25495?

> Upgrade JLine to 3.x as 2.x is EOL.
> ---
>
> Key: HIVE-28255
> URL: https://issues.apache.org/jira/browse/HIVE-28255
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Naveen Gangam
>Priority: Major
>
> Hive's Beeline uses JLine 2.14.x release which is EOL. We need to move to the 
> latest JLine version or atleast 3.25.1.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (HIVE-28255) Upgrade JLine to 3.x as 2.x is EOL.

2024-05-13 Thread Naveen Gangam (Jira)
Naveen Gangam created HIVE-28255:


 Summary: Upgrade JLine to 3.x as 2.x is EOL.
 Key: HIVE-28255
 URL: https://issues.apache.org/jira/browse/HIVE-28255
 Project: Hive
  Issue Type: Improvement
Affects Versions: 4.0.0
Reporter: Naveen Gangam


Hive's Beeline uses JLine 2.14.x release which is EOL. We need to move to the 
latest JLine version or atleast 3.25.1.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (HIVE-28253) Unable to set the value for hplsql.onerror in hplsql mode.

2024-05-13 Thread Krisztian Kasa (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-28253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Krisztian Kasa resolved HIVE-28253.
---
Fix Version/s: 4.1.0
   Resolution: Fixed

Merged to master. Thanks [~Dayakar] for the patch.

> Unable to set the value for hplsql.onerror in hplsql mode.
> --
>
> Key: HIVE-28253
> URL: https://issues.apache.org/jira/browse/HIVE-28253
> Project: Hive
>  Issue Type: Bug
>  Components: hpl/sql
>Reporter: Dayakar M
>Assignee: Dayakar M
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.0
>
>
> Unable to set the value for hplsql.onerror in hplsql mode.
>  
> Stesp to reproduce:
> {noformat}
> 0: jdbc:hive2://localhost> set hplsql.onerror='stop';
> . . . . . . . . . . . . . . . . . . . . . . .> /
> ERROR : Syntax error at line 1:18 no viable alternative at input 
> 'hplsql.onerror='
> ERROR : Ln:1 identifier 'SET' must be declared.
> No rows affected (0.534 seconds)
> 0: jdbc:hive2://localhost> {noformat}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (HIVE-28254) CBO (Calcite Return Path): Multiple DISTINCT leads to wrong results

2024-05-13 Thread Ayush Saxena (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-28254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ayush Saxena updated HIVE-28254:

Labels: hive-4.0.1-must pull-request-available  (was: 
pull-request-available)

> CBO (Calcite Return Path): Multiple DISTINCT leads to wrong results
> ---
>
> Key: HIVE-28254
> URL: https://issues.apache.org/jira/browse/HIVE-28254
> Project: Hive
>  Issue Type: Bug
>  Components: CBO
>Affects Versions: 4.0.0
>Reporter: Shohei Okumiya
>Assignee: Shohei Okumiya
>Priority: Major
>  Labels: hive-4.0.1-must, pull-request-available
>
> CBO return path can build incorrect GroupByOperator when multiple 
> aggregations with DISTINCT are involved.
> This is an example.
> {code:java}
> CREATE TABLE test (col1 INT, col2 INT);
> INSERT INTO test VALUES (1, 100), (2, 200), (2, 200), (3, 300);
> set hive.cbo.returnpath.hiveop=true;
> set hive.map.aggr=false;
> SELECT
>   SUM(DISTINCT col1),
>   COUNT(DISTINCT col1),
>   SUM(DISTINCT col2),
>   SUM(col2)
> FROM test;{code}
> The last column should be 800. But the SUM refers to col1 and the actual 
> result is 8.
> {code:java}
> +--+--+--+--+
> | _c0  | _c1  | _c2  | _c3  |
> +--+--+--+--+
> | 6    | 3    | 600  | 8    |
> +--+--+--+--+ {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (HIVE-28082) HiveAggregateReduceFunctionsRule could generate an inconsistent result

2024-05-13 Thread Ayush Saxena (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-28082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ayush Saxena updated HIVE-28082:

Labels: hive-4.0.1-must pull-request-available  (was: 
pull-request-available)

> HiveAggregateReduceFunctionsRule could generate an inconsistent result
> --
>
> Key: HIVE-28082
> URL: https://issues.apache.org/jira/browse/HIVE-28082
> Project: Hive
>  Issue Type: Bug
>  Components: CBO
>Affects Versions: 4.0.0-beta-1
>Reporter: Shohei Okumiya
>Assignee: Shohei Okumiya
>Priority: Major
>  Labels: hive-4.0.1-must, pull-request-available
>
> HiveAggregateReduceFunctionsRule translates AVG, STDDEV_POP, STDDEV_SAMP, 
> VAR_POP, and VAR_SAMP. Those UDFs accept string types and try to decode them 
> as floating point values. It is possible that undecodable values exist.
> We found that it could cause inconsistent behaviors with or without CBO.
> {code:java}
> 0: jdbc:hive2://hive-hiveserver2:1/defaul> SELECT AVG('text');
> ...
> +--+
> | _c0  |
> +--+
> | 0.0  |
> +--+
> 1 row selected (18.229 seconds)
> 0: jdbc:hive2://hive-hiveserver2:1/defaul> set hive.cbo.enable=false;
> No rows affected (0.013 seconds)
> 0: jdbc:hive2://hive-hiveserver2:1/defaul> SELECT AVG('text');
> ...
> +---+
> |  _c0  |
> +---+
> | NULL  |
> +---+ {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)