mirror of
https://github.com/apache/impala.git
synced 2026-01-08 12:02:54 -05:00
This patch adds two new hint styles: 1. Traditional commented hint: /* +hint1,hint2,hint3 */ 2. End-of-line commented hint: -- +hint1,hint2,hint3\n We now preserve hints when creating views. We always use the end-of-line commented hint style to allow Hive to read hinted views created by Impala. Hive does not support traditional /* */ comments, and attempts to parse /*+ */ as hints, failing with a parse error on unrecognized hints. This patch also changes Impala to only issue a warning for unrecognized hints instead of throwing an error. This allows Impala to run against hinted views created by Hive. Change-Id: I6e8352442e763c0029f72c17363caa087572dca0 Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4235 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: jenkins Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4361
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