Skip to content

SQL: drop BASE TABLE type in favour for just TABLE (#54836)#54951

Merged
bpintea merged 1 commit intoelastic:7.xfrom
bpintea:port/7.x_54836
Apr 8, 2020
Merged

SQL: drop BASE TABLE type in favour for just TABLE (#54836)#54951
bpintea merged 1 commit intoelastic:7.xfrom
bpintea:port/7.x_54836

Conversation

@bpintea
Copy link
Copy Markdown
Contributor

@bpintea bpintea commented Apr 8, 2020

  • Drop BASE TABLE type in favour for just TABLE

This commit drops the table type 'BASE TABLE' and replaces all
occurences with just 'TABLE', since his type is wider-used and
friendlier to the client applications that query for certain table types
in their discovery mode.

The 'TABLE' type is also explicitely mentioned by the JDBC and ODBC
standards and although other data source-specific types are permitted,
older apps will not work well with them.

  • Refactor table type constants out of IndexType

Move SQL_TABLE/_ALIAS out of IndexType, so that they can also be used in
that Enum definition.

Co-authored-by: Elastic Machine elasticmachine@users.noreply.github.com
(cherry picked from commit 70241b5)

* Drop BASE TABLE type in favour for just TABLE

This commit drops the table type 'BASE TABLE' and replaces all
occurences with just 'TABLE', since his type is wider-used and
friendlier to the client applications that query for certain table types
in their discovery mode.

The 'TABLE' type is also explicitely mentioned by the JDBC and ODBC
standards and although other data source-specific types are permitted,
older apps will not work well with them.

* Refactor table type constants out of IndexType

Move SQL_TABLE/_ALIAS out of IndexType, so that they can also be used in
that Enum definition.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 70241b5)
@bpintea
Copy link
Copy Markdown
Contributor Author

bpintea commented Apr 8, 2020

@elasticmachine run elasticsearch-ci/packaging-sample-unix-docker

@bpintea bpintea merged commit 8d6d7b8 into elastic:7.x Apr 8, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-ql (:Query Languages/SQL)

@bpintea bpintea deleted the port/7.x_54836 branch April 8, 2020 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants