OpenSearch/x-pack/qa/sql
Marios Trivyzas 7d3b99a9b7
SQL: Fix result column names for CAST (#33604)
Previously, when an non-pruned cast (casting as a different
data type) got applied on a table column in the `SELECT` clause,
the name of the result column didn't contain the target data type
of the cast, e.g.:

  SELECT CAST(MAX(salary) AS DOUBLE) FROM "test_emp"

returned as column name:

  CAST(MAX(salary))

instead of:

  CAST(MAX(salary) AS DOUBLE)

Closes #33571

* Added more tests for trivial casts that are pruned
2018-09-13 10:28:05 +02:00
..
multinode Remove all unused imports and fix CRLF (#31207) 2018-06-11 15:12:12 +02:00
no-security DOC: Enhance SQL Functions documentation 2018-09-06 18:09:53 +03:00
security Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
src/main SQL: Fix result column names for CAST (#33604) 2018-09-13 10:28:05 +02:00
build.gradle Run forbidden api checks with runtimeJavaVersion (#32947) 2018-08-22 09:05:22 +03:00