Files
impala/testdata/workloads/functional-query/queries/QueryTest/subquery-single-node.test
Qifan Chen 6dbf1ca09c IMPALA-6628: Use unqualified table references in .test files run from test_queries.py
This fix modified the following tests launched from test_queries.py by
removing references to database 'functional' whenever possible. The
objective of the change is to allow more testing coverage with different
databases than the single 'functional' database. In the fix, neither new
tables were added nor expected results were altered.

  empty.test
  inline-view-limit.test
  inline-view.test
  limit.test
  misc.test
  sort.test
  subquery-single-node.test
  subquery.test
  top-n.test
  union.test
  with-clause.test

It was determined that other tests in
testdata/workloads/functional-query/queries/QueryTest do not refer to
'functional' or the references are a must for some reason.

Testing
   Ran query_tests on these changed tests with exhaustive exploration
   strategy.

Change-Id: Idd50eaaaba25e3bedc2b30592a314d2b6b83f972
Reviewed-on: http://gerrit.cloudera.org:8080/16603
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2020-10-21 05:20:33 +00:00

27 lines
547 B
Plaintext

====
---- QUERY
# Uncorrelated subquery in binary predicate that returns scalar value at runtime.
# num_nodes = 1 is set for this file by the python test.
SELECT count(id) FROM alltypes
WHERE int_col =
(SELECT int_col
FROM alltypessmall
WHERE id = 1)
---- RESULTS
730
---- TYPES
BIGINT
====
---- QUERY
# Uncorrelated subquery in arithmetic expr that returns scalar value at runtime.
SELECT count(id) FROM alltypes
WHERE int_col =
3 * (SELECT int_col
FROM alltypessmall
WHERE id = 1)
---- RESULTS
730
---- TYPES
BIGINT
====