mirror of
https://github.com/apache/impala.git
synced 2026-02-02 06:00:36 -05:00
This change will allow usage of commands that do not require reading the Json File like: - Create Table <Table> stored as JSONFILE - Show Create Table <Table> - Describe <Table> Changes: - Added JSON as FileFormat to thrift and HdfsFileFormat. - Allowing Sql keyword 'jsonfile' and mapping it to JSON format. - Adding JSON serDe. - JsonFiles have input format same as TextFile, so we need to use SerDe library in use to differentiate between the two formats. Overloaded the functions querying File Format based on input format to consider serDe library too. - Added tests for 'Create Table' and 'Show Create Table' commmands Pending Changes: - test for Describe command - to be added with backend changes. Change-Id: I5b8cb2f59df3af09902b49d3bdac16c19954b305 Reviewed-on: http://gerrit.cloudera.org:8080/17727 Reviewed-by: Quanlong Huang <huangquanlong@gmail.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
8.2 KiB
8.2 KiB