[jira] [Created] (HIVE-27149) StorageHandler PPD query planning statistics not adjusted for residualPredicate

2023-03-16 Thread Yi Zhang (Jira)
Yi Zhang created HIVE-27149:
---

 Summary: StorageHandler PPD query planning statistics not adjusted 
for residualPredicate
 Key: HIVE-27149
 URL: https://issues.apache.org/jira/browse/HIVE-27149
 Project: Hive
  Issue Type: Bug
  Components: StorageHandler
Affects Versions: 4.0.0-alpha-2
Reporter: Yi Zhang


In StorageHandler PPD, filter predicates can be pushed down to storage and 
trimmed to a subset residualPredicate, however, at query planning statistics 
based on filters only consider the 'final' residual predicates, when in fact 
there are pushedPredicates that should also be considered, this affect reducer 
parallelism (more reducers than needed)



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


[jira] [Created] (HIVE-27148) Disable TestJdbcGenericUDTFGetSplits

2023-03-16 Thread Vihang Karajgaonkar (Jira)
Vihang Karajgaonkar created HIVE-27148:
--

 Summary: Disable TestJdbcGenericUDTFGetSplits
 Key: HIVE-27148
 URL: https://issues.apache.org/jira/browse/HIVE-27148
 Project: Hive
  Issue Type: Sub-task
  Components: Tests
Reporter: Vihang Karajgaonkar


TestJdbcGenericUDTFGetSplits is flaky and intermittently fails.

http://ci.hive.apache.org/job/hive-flaky-check/614/



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


[jira] [Created] (HIVE-27147) HS2 is not accessible to clients via zookeeper when hostname used is not FQDN

2023-03-16 Thread Venugopal Reddy K (Jira)
Venugopal Reddy K created HIVE-27147:


 Summary: HS2 is not accessible to clients via zookeeper when 
hostname used is not FQDN
 Key: HIVE-27147
 URL: https://issues.apache.org/jira/browse/HIVE-27147
 Project: Hive
  Issue Type: Bug
Reporter: Venugopal Reddy K


HS2 is not accessible to clients via zookeeper when hostname used during 
registration is InetAddress.getHostName() with JDK 11. This issue is happening 
due to change in behavior on JDK 11. 

[https://stackoverflow.com/questions/61898627/inetaddress-getlocalhost-gethostname-different-behavior-between-jdk-11-and-j|http://example.com]



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


[jira] [Created] (HIVE-27146) Re-enable orc_merge*.q tests for TestMiniSparkOnYarnCliDriver

2023-03-16 Thread Vihang Karajgaonkar (Jira)
Vihang Karajgaonkar created HIVE-27146:
--

 Summary: Re-enable orc_merge*.q tests for 
TestMiniSparkOnYarnCliDriver
 Key: HIVE-27146
 URL: https://issues.apache.org/jira/browse/HIVE-27146
 Project: Hive
  Issue Type: Test
Reporter: Vihang Karajgaonkar


It was found that the q.out file for these tests fail with a diff in the 
replication factor of the files. The tests only fail on the CI job so it is 
possible that it is due to some test environment issues. The tests also fail on 
3.1.3 release.

E.g orc_merge4.q fails with the error. Similarly the other tests fail with the 
same difference in replication factor.
{code:java}
40c40
< -rw-r--r--   1 ### USER ### ### GROUP ###   2530 ### HDFS DATE ### 
hdfs://### HDFS PATH ###
---
> -rw-r--r--   3 ### USER ### ### GROUP ###   2530 ### HDFS DATE ### 
> hdfs://### HDFS PATH ###
66c66
< -rw-r--r--   1 ### USER ### ### GROUP ###   2530 ### HDFS DATE ### 
hdfs://### HDFS PATH ###
---
> -rw-r--r--   3 ### USER ### ### GROUP ###   2530 ### HDFS DATE ### 
> hdfs://### HDFS PATH ###
68c68
< -rw-r--r--   1 ### USER ### ### GROUP ###   2530 ### HDFS DATE ### 
hdfs://### HDFS PATH ###
---
> -rw-r--r--   3 ### USER ### ### GROUP ###   2530 ### HDFS DATE ### 
> hdfs://### HDFS PATH ###
{code}



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


[jira] [Created] (HIVE-27145) Use StrictMath for remaining Math functions as followup of HIVE-23133

2023-03-16 Thread Himanshu Mishra (Jira)
Himanshu Mishra created HIVE-27145:
--

 Summary: Use StrictMath for remaining Math functions as followup 
of HIVE-23133
 Key: HIVE-27145
 URL: https://issues.apache.org/jira/browse/HIVE-27145
 Project: Hive
  Issue Type: Task
  Components: UDF
Reporter: Himanshu Mishra
Assignee: Himanshu Mishra


[HIVE-23133|https://issues.apache.org/jira/browse/HIVE-23133] started using 
{{StrictMath}} for {{cos, exp, log}} UDFs to fix QTests failing as results vary 
based on hardware when using Math library.

Follow it up by using {{StrictMath}} for other Math functions that can have 
same impact of underlying hardware namely, {{sin, tan, asin, acos, atan, sqrt, 
pow, cbrt}}.

[JDK-4477961](https://bugs.openjdk.org/browse/JDK-4477961) (in Java 9) changed 
radians and degrees calculation leading to Q Test failures when tests are run 
on Java 9+, fix such tests.



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