Giter Site home page Giter Site logo

Comments (7)

howryu avatar howryu commented on June 2, 2024

This is a parameter that is not exposed to user, but only controlled by Snowflake. So if you want to enable it, please file a support ticket and support will enable the parameter for your whole account.

props.setProperty actually worked for parameters that is exposed to end users. i.e. TIMESTAMP_OUTPUT_FORMAT. Once you put the parameters in properties, it will be sent to server along with login request. And response from the server will have an updated value.

As for why don't we enable column insensitive search by default is because Snowflake is able to return both upper case and lower case identifier.

select col1 as "a", col2 as "A" from t will return two columns with metadata saying column names are a adn A, enabling the parameter by default will only return first column.

from snowflake-jdbc.

ooasis avatar ooasis commented on June 2, 2024

I actually saw JDBC_RS_COLUMN_CASE_INSENSITIVE=TRUE being sent to the server. However, the server does not honor it and still returns JDBC_RS_COLUMN_CASE_INSENSITIVE=FALSE.

Are you saying that we cannot programmatically change it?

from snowflake-jdbc.

howryu avatar howryu commented on June 2, 2024

Right, we did not allow users to change it. You need to file a ticket to enable it.

from snowflake-jdbc.

mohanrao avatar mohanrao commented on June 2, 2024

@howryu I am stuck on this. The setting is being sent to the server but not working. What to do ?

from snowflake-jdbc.

ooasis avatar ooasis commented on June 2, 2024

You need to ask your account manager to change it.

from snowflake-jdbc.

mohanrao avatar mohanrao commented on June 2, 2024

@hsun-cnnxty It is not a right approach. It will affect all other applications.

from snowflake-jdbc.

stiradrian avatar stiradrian commented on June 2, 2024

Use CLIENT_RESULT_COLUMN_CASE_INSENSITIVE in the connection string:

jdbc❄️//${snowflake.account}.snowflakecomputing.com/?warehouse=${snowflake.warehouse}&db=${snowflake.database.name}&schema=${snowflake.schema}&CLIENT_RESULT_COLUMN_CASE_INSENSITIVE=true

from snowflake-jdbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.