[jira] [Created] (HIVE-26773) Update Avro version to 1.10.2

2022-11-23 Thread Zhihua Deng (Jira)
Zhihua Deng created HIVE-26773:
--

 Summary: Update Avro version to 1.10.2
 Key: HIVE-26773
 URL: https://issues.apache.org/jira/browse/HIVE-26773
 Project: Hive
  Issue Type: Improvement
  Components: Avro
Reporter: Zhihua Deng


Update the avro version to 1.10.2, there is a transitive dependency to velocity.



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


ODBC Driver for Hive

2022-11-23 Thread Battula, Brahma Reddy
Hi All,

Is there any opensource ODBC Drivers for hive, Any leads would be appreciated.



Regards,
Brahma


[jira] [Created] (HIVE-26772) Add support for specific column statistics to ANALYZE TABLE command

2022-11-23 Thread Alessandro Solimando (Jira)
Alessandro Solimando created HIVE-26772:
---

 Summary: Add support for specific column statistics to ANALYZE 
TABLE command
 Key: HIVE-26772
 URL: https://issues.apache.org/jira/browse/HIVE-26772
 Project: Hive
  Issue Type: Improvement
  Components: Parser, Statistics
Affects Versions: 4.0.0-alpha-2
Reporter: Alessandro Solimando


Currently column statistics for table/partitions can be computed in an 
all-or-nothing fashion by the "ANALYZE TABLE $tableName COMPUTE STATISTICS FOR 
COLUMNS" command.

We propose to improve granularity and support the request to compute a single 
kind of statistics, BIT_VECTOR for instance.

The new syntax could be "ANALYZE TABLE $tableName COMPUTE $statsKind STATISTICS 
FOR COLUMNS".

In the case of BIT_VECTOR this would translate into "ANALYZE TABLE $tableName 
COMPUTE BIT_VECTOR STATISTICS FOR COLUMNS".

The change would require to extend the parser and the statistics computation 
logic.



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


[jira] [Created] (HIVE-26771) Use DDLTask to created Iceberg table when running ctas statement

2022-11-23 Thread Krisztian Kasa (Jira)
Krisztian Kasa created HIVE-26771:
-

 Summary: Use DDLTask to created Iceberg table when running ctas 
statement
 Key: HIVE-26771
 URL: https://issues.apache.org/jira/browse/HIVE-26771
 Project: Hive
  Issue Type: Improvement
  Components: Iceberg integration
Reporter: Krisztian Kasa
Assignee: Krisztian Kasa


When Iceberg table is created via ctas statement the table is created in 
HiveIcebergSerDe and no DDL task is executed.
Negative effects of this workflow:
* Default privileges of the new table are not granted.
* The new Iceberg table can be seen by other transactions at compile time of 
ctas.
* Table creation and table properties are not shown in explain ctas output.



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


[jira] [Created] (HIVE-26770) Make "end of loop" compaction logs appear more selectively

2022-11-23 Thread Akshat Mathur (Jira)
Akshat Mathur created HIVE-26770:


 Summary: Make "end of loop" compaction logs appear more selectively
 Key: HIVE-26770
 URL: https://issues.apache.org/jira/browse/HIVE-26770
 Project: Hive
  Issue Type: Improvement
Reporter: Akshat Mathur
Assignee: Akshat Mathur


Currently Initiator, Worker, and Cleaner threads log something like "finished 
one loop" on INFO level.

This is useful to figure out if one of these threads is taking too long to 
finish a loop, but expensive in general.

 

Suggested Time: 20mins

Logging this should be changed in the following way
 # If loop finished within a predefined amount of time, level should be DEBUG 
and message should look like: *Initiator loop took \{ellapsedTime} seconds to 
finish.*
 # If loop ran longer than this predefined amount, level should be WARN and 
message should look like: *Possible Initiator slowdown, loop took 
\{ellapsedTime} seconds to finish.*



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