aboutsummaryrefslogtreecommitdiff
path: root/sql/hive/src/test/resources/golden/view_cast-0-89bd46ad04f967f1f5ee17c6f201aacf
diff options
context:
space:
mode:
authorDaoyuan Wang <daoyuan.wang@intel.com>2014-11-14 13:51:20 -0800
committerMichael Armbrust <michael@databricks.com>2014-11-14 13:51:20 -0800
commitade72c436276237f305d6a6aa4b594d43bcc4743 (patch)
treec052822ee7ab25772e2fbbd751515971bea3db9f /sql/hive/src/test/resources/golden/view_cast-0-89bd46ad04f967f1f5ee17c6f201aacf
parentc258db9ed4104b6eefe9f55f3e3959a3c46c2900 (diff)
downloadspark-ade72c436276237f305d6a6aa4b594d43bcc4743.tar.gz
spark-ade72c436276237f305d6a6aa4b594d43bcc4743.tar.bz2
spark-ade72c436276237f305d6a6aa4b594d43bcc4743.zip
[SPARK-4239] [SQL] support view in HiveQl
Currently still not support view like CREATE VIEW view3(valoo) TBLPROPERTIES ("fear" = "factor") AS SELECT upper(value) FROM src WHERE key=86; because the text in metastore for this view is like select \`_c0\` as \`valoo\` from (select upper(\`src\`.\`value\`) from \`default\`.\`src\` where ...) \`view3\` while catalyst cannot resolve \`_c0\` for this query. For view without colname definition in parentheses, it works fine. Author: Daoyuan Wang <daoyuan.wang@intel.com> Closes #3131 from adrian-wang/view and squashes the following commits: 8a56fd6 [Daoyuan Wang] michael's comments e46c056 [Daoyuan Wang] add some golden file 079290a [Daoyuan Wang] remove useless import 88afcad [Daoyuan Wang] support view in HiveQl
Diffstat (limited to 'sql/hive/src/test/resources/golden/view_cast-0-89bd46ad04f967f1f5ee17c6f201aacf')
-rw-r--r--sql/hive/src/test/resources/golden/view_cast-0-89bd46ad04f967f1f5ee17c6f201aacf0
1 files changed, 0 insertions, 0 deletions
diff --git a/sql/hive/src/test/resources/golden/view_cast-0-89bd46ad04f967f1f5ee17c6f201aacf b/sql/hive/src/test/resources/golden/view_cast-0-89bd46ad04f967f1f5ee17c6f201aacf
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/view_cast-0-89bd46ad04f967f1f5ee17c6f201aacf