mirror of
https://github.com/apache/impala.git
synced 2026-01-05 21:00:54 -05:00
SHOW CREATE TABLE now supports views. It returns a CREATE VIEW statement with column names and the original sql statement. Authorization allows SHOW CREATE TABLE to be run on view if the user has VIEW_METADATA privilege on the view and SELECT privilege on all underlying views and table. E.g. "SHOW CREATE TABLE some_view" returns output of form: CREATE VIEW a_database.some_view (id, bool_col, tinyint_col) AS SELECT id, bool_col, tinyint_col FROM functional.alltypes Change-Id: Id633af2f5c1f5b0e01c13ed85c4bf9c045dc0666 Reviewed-on: http://gerrit.cloudera.org:8080/713 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Internal Jenkins
This directory contains Impala test workloads. The directory layout for the workloads should follow: workloads/ <data set name>/<data set name>_dimensions.csv <- The test dimension file <data set name>/<data set name>_core.csv <- A test vector file <data set name>/<data set name>_pairwise.csv <data set name>/<data set name>_exhaustive.csv <data set name>/queries/<query test>.test <- The queries for this workload