OpenSearch/x-pack/plugin/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
..
jdbc SQL: test coverage for JdbcResultSet (#32813) 2018-08-31 16:12:01 +03:00
sql-action Upgrade to latest Lucene snapshot (#33505) 2018-09-10 20:51:55 +01:00
sql-cli Different handling for security specific errors in the CLI. Fix for https://github.com/elastic/elasticsearch/issues/33230 (#33255) 2018-08-31 13:08:32 +03:00
sql-client Run forbidden api checks with runtimeJavaVersion (#32947) 2018-08-22 09:05:22 +03:00
sql-proto Run forbidden api checks with runtimeJavaVersion (#32947) 2018-08-22 09:05:22 +03:00
src SQL: Fix result column names for CAST (#33604) 2018-09-13 10:28:05 +02:00
build.gradle Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00