Files
impala/testdata/workloads/functional-query/queries/QueryTest
Alex Behm 5877f12be6 IMPALA-995: Add plan hints embedded in comments and preserve them in views.
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
2014-09-18 00:36:03 -07:00
..
2014-08-27 13:41:42 -07:00
2014-09-13 00:19:20 -07:00
2014-05-16 22:26:11 -07:00
2014-06-24 02:14:27 -07:00
2014-06-11 03:10:11 -07:00
2014-06-11 03:10:11 -07:00
2014-06-11 03:10:11 -07:00
2014-06-11 03:10:11 -07:00
2014-08-17 12:44:44 -07:00
2014-06-24 02:14:27 -07:00
2014-09-13 00:17:33 -07:00
2014-03-17 17:30:15 -07:00
2014-06-11 03:10:11 -07:00
2014-06-24 02:14:27 -07:00
2014-09-11 08:47:23 -07:00
2014-06-24 02:14:27 -07:00
2014-06-24 02:14:27 -07:00
2014-06-26 22:17:56 -07:00
2014-01-08 10:48:09 -08:00
2014-06-20 13:35:10 -07:00
2014-06-24 02:14:27 -07:00