Open iliyan-velichkov opened 5 months ago
Hi @larshp, Can we preserve the tables and columns case?
Hi @larshp,
Following up @iliyan-velichkov comment and the scenario provided we have the following SQL: SELECT "ID", "FIRST_NAME", "LAST_NAME" FROM "employees"
In my case I am using Snowflake. My points are:
create table "employees" ( ... )
if I create the table like create table EMPLOYEES or create table employees the select statement will not work.
Exactly the same applies to column names. I hope this can be fixed.
Thank you
When having a table with upper case and the following inline sql statement
the table name is passed in lower case to registered
DB.DatabaseClient
implementation (methodselect
). This way, the client cannot execute a valid select statement.As you can see, the passed input options are:
"select":"SELECT \"ID\", \"FIRST_NAME\", \"LAST_NAME\" FROM \"employees\""}
where the table is in lower case.