| commit | bb45556657695cd52843ce85d55793b98e3041a3 | [log] [tgz] |
|---|---|---|
| author | Aman Raj <104416558+amanraj2520@users.noreply.github.com> | Wed Nov 08 13:01:09 2023 +0530 |
| committer | GitHub <noreply@github.com> | Wed Nov 08 13:01:09 2023 +0530 |
| tree | 8cf41ae1c28d7a7911af62dd5223dcd07c820b06 | |
| parent | a0e3411c01ae0ed4ac09c17bead143718387db19 [diff] |
HIVE-27851: Backport of HIVE-24693, HIVE-20433, HIVE-20792, HIVE-20838, HIVE-21241, HIVE-22099, HIVE-25093, HIVE-22400, HIVE-25306, HIVE-25268 to branch-3 (#4838) * HIVE-24693: Convert timestamps to zoned times without string operations (David Mollitor reviewed by Panagiotis Garefalakis)) * HIVE-20433: Implicit String to Timestamp conversion is slow (Deepak Jaiswal, reviewed by Gopal Vijayaraghavan) * HIVE-20792: Inserting timestamp with zones truncates the data (Jaume Marhuenda, reviewed by Jesus Camacho Rodriguez) * HIVE-20838: Timestamps with timezone are set to null when using the streaming API * HIVE-21241: Migrate TimeStamp Parser From Joda Time (Beluga Behr, reviewed by Naveen Gangam) * HIVE-22099: Several date related UDFs can't handle Julian dates properly since HIVE-20007 (Adam Szita, reviewed by Jesus Camacho Rodriguez) * HIVE-25093: date_format() UDF is returning output in UTC time zone only (Ashish Sharma, reviewed by Adesh Rao, Nikhil Gupta, Sankar Hariappan) * HIVE-22400: UDF minute with time returns NULL (Naresh P R, reviewed by Jesus Camacho Rodriguez) * HIVE-25306: Change Date/Timestamp parser from LENIENT to STRICT (Ashish Kumar Sharma, reviewed by Adesh Kumar Rao, Matt McCline, Sankar Hariappan, Stamatis Zampetakis) * HIVE-25268: date_format udf returns wrong results for dates prior to 1900 if the local timezone is other than UTC (Nikhil Gupta, reviewed by Ashish Sharma, Stamatis Zampetakis, Sankar Hariappan) * Revert "HIVE-27540: Fix orc_merge10.q test in branch-3 (#4523)" --------- Co-authored-by: belugabehr <12578579+belugabehr@users.noreply.github.com> Co-authored-by: Deepak Jaiswal <djaiswal@apache.org> Co-authored-by: Jaume Marhuenda <jaumemarhuenda@gmail.com> Co-authored-by: Naveen Gangam <ngangam@apache.org> Co-authored-by: Nikhil Gupta <guptan@microsoft.com> Co-authored-by: Ashish Kumar Sharma <ashishkumarsharma20@gmail.com> Co-authored-by: Naresh P R <prnaresh.naresh@gmail.com> --------- Signed-off-by: Sankar Hariappan <sankarh@apache.org> Closes (#4838)
The Apache Hive (TM) data warehouse software facilitates reading, writing, and managing large datasets residing in distributed storage using SQL. Built on top of Apache Hadoop (TM), it provides:
Tools to enable easy access to data via SQL, thus enabling data warehousing tasks such as extract/transform/load (ETL), reporting, and data analysis
A mechanism to impose structure on a variety of data formats
Access to files stored either directly in Apache HDFS (TM) or in other data storage systems such as Apache HBase (TM)
Query execution using Apache Hadoop MapReduce, Apache Tez or Apache Spark frameworks.
Hive provides standard SQL functionality, including many of the later 2003 and 2011 features for analytics. These include OLAP functions, subqueries, common table expressions, and more. Hive's SQL can also be extended with user code via user defined functions (UDFs), user defined aggregates (UDAFs), and user defined table functions (UDTFs).
Hive users have a choice of 3 runtimes when executing SQL queries. Users can choose between Apache Hadoop MapReduce, Apache Tez or Apache Spark frameworks as their execution backend. MapReduce is a mature framework that is proven at large scales. However, MapReduce is a purely batch framework, and queries using it may experience higher latencies (tens of seconds), even over small datasets. Apache Tez is designed for interactive query, and has substantially reduced overheads versus MapReduce. Apache Spark is a cluster computing framework that's built outside of MapReduce, but on top of HDFS, with a notion of composable and transformable distributed collection of items called Resilient Distributed Dataset (RDD) which allows processing and analysis without traditional intermediate stages that MapReduce introduces.
Users are free to switch back and forth between these frameworks at any time. In each case, Hive is best suited for use cases where the amount of data processed is large enough to require a distributed system.
Hive is not designed for online transaction processing. It is best used for traditional data warehousing tasks. Hive is designed to maximize scalability (scale out with more machines added dynamically to the Hadoop cluster), performance, extensibility, fault-tolerance, and loose-coupling with its input formats.
For the latest information about Hive, please visit out website at:
Installation Instructions and a quick tutorial: https://cwiki.apache.org/confluence/display/Hive/GettingStarted
A longer tutorial that covers more features of HiveQL: https://cwiki.apache.org/confluence/display/Hive/Tutorial
The HiveQL Language Manual: https://cwiki.apache.org/confluence/display/Hive/LanguageManual
Java 1.7 or 1.8
Hadoop 1.x, 2.x, 3.x (3.x required for Hive 3.x)
Hive includes changes to the MetaStore schema. If you are upgrading from an earlier version of Hive it is imperative that you upgrade the MetaStore schema by running the appropriate schema upgrade scripts located in the scripts/metastore/upgrade directory.
We have provided upgrade scripts for MySQL, PostgreSQL, Oracle, Microsoft SQL Server, and Derby databases. If you are using a different database for your MetaStore you will need to provide your own upgrade script.
user@hive.apache.org - To discuss and ask usage questions. Send an empty email to user-subscribe@hive.apache.org in order to subscribe to this mailing list.
dev@hive.apache.org - For discussions about code, design and features. Send an empty email to dev-subscribe@hive.apache.org in order to subscribe to this mailing list.
commits@hive.apache.org - In order to monitor commits to the source repository. Send an empty email to commits-subscribe@hive.apache.org in order to subscribe to this mailing list.