HIVE-27337: Trim the starting and trailing white spaces in HMS for create and alter queries (#4316) (Sai Hemanth G, Reviewed by Zhihua Deng, Attila Turoczy)

21 files changed
tree: 3e7652e94bc67a93a908888b966ab70295292f10
  1. .github/
  2. accumulo-handler/
  3. beeline/
  4. bin/
  5. binary-package-licenses/
  6. checkstyle/
  7. classification/
  8. cli/
  9. common/
  10. conf/
  11. contrib/
  12. core/
  13. data/
  14. dev-support/
  15. docs/
  16. druid-handler/
  17. hbase-handler/
  18. hcatalog/
  19. hplsql/
  20. iceberg/
  21. itests/
  22. jdbc/
  23. jdbc-handler/
  24. kafka-handler/
  25. kudu-handler/
  26. lib/
  27. llap-client/
  28. llap-common/
  29. llap-ext-client/
  30. llap-server/
  31. llap-tez/
  32. metastore/
  33. packaging/
  34. parser/
  35. ql/
  36. serde/
  37. service/
  38. service-rpc/
  39. shims/
  40. spotbugs/
  41. standalone-metastore/
  42. storage-api/
  43. streaming/
  44. testutils/
  45. udf/
  46. upgrade-acid/
  47. vector-code-gen/
  48. .arcconfig
  49. .asf.yaml
  50. .checkstyle
  51. .gitattributes
  52. .gitignore
  53. .reviewboardrc
  54. errata.txt
  55. Jenkinsfile
  56. LICENSE
  57. NOTICE
  58. pom.xml
  59. README.md
  60. RELEASE_NOTES.txt
README.md

Apache Hive (TM)

Master Build Status Maven Central

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 or Apache Tez 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 or Apache Tez 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.

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.

General Info

For the latest information about Hive, please visit out website at:

http://hive.apache.org/

Getting Started

Requirements

Java

Hive VersionJava Version
Hive 1.0Java 6
Hive 1.1Java 6
Hive 1.2Java 7
Hive 2.xJava 7
Hive 3.xJava 8
Hive 4.xJava 8

Hadoop

  • Hadoop 1.x, 2.x
  • Hadoop 3.x (Hive 3.x)

Upgrading from older versions of Hive

  • 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.

Useful mailing lists

  1. 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.

  2. 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.

  3. 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.