Comments (7)
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.
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.
Right, we did not allow users to change it. You need to file a ticket to enable it.
from snowflake-jdbc.
@howryu I am stuck on this. The setting is being sent to the server but not working. What to do ?
from snowflake-jdbc.
You need to ask your account manager to change it.
from snowflake-jdbc.
@hsun-cnnxty It is not a right approach. It will affect all other applications.
from snowflake-jdbc.
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)
- SNOW-990764: Allow disabling certificate validation HOT 7
- SNOW-999335: Spark snowflake read results in certificate issue HOT 13
- SNOW-1001015: Cannot convert value in the driver from type:FIXED(38,0) to type:int, value=5,738,342,984 HOT 2
- SNOW-1003959: Slow query in spring boot not showing the SQL executed. HOT 6
- SNOW-1005946: Make SQL text optional for the input to `StmtUtil.cancel`
- SNOW-1008792: since 3.13.19 , I can not package the snowflake-jdbc into my fat jar HOT 2
- SNOW-1023077: JDBC driver package is too big HOT 2
- SNOW-1042432: Do not use com.amazonaws classes in core SF classes HOT 5
- SNOW-1045676: Update getSQLKeywords to match actual reserved keywords in Snowflake HOT 3
- SNOW-1053954: No enum constant net.snowflake.client.jdbc.SnowflakeType.VECTOR HOT 1
- SNOW-1094021: Add Methods to Datasource to support further Connection Settings HOT 2
- SNOW-1161547: number of retries is fixed to 0 for getQueryMetadata from queryID HOT 5
- SNOW-1163212: InvalidPathException on Windows due to Nested file path HOT 10
- SNOW-1168175: Tiny bug: Link to Release notes in CHANGELOG is outdated HOT 3
- SNOW-1196082: Inserting and reading timestamps is not symetric if too much columns inserted with batch HOT 10
- SNOW-1229142: Should not shade apache commons logging HOT 9
- SNOW-1250205: Driver returns incorrect column type while querying on Query History Views HOT 4
- SNOW-1272895: Key Pair Authentication with Encrypted Key Not Working HOT 9
- SNOW-1304351: The `threetenbp` package is vulnerable to Denial of Service (DoS) due to an Uncaught Exception HOT 2
- SNOW-1313790: Separate cloud-vendor-specific dependencies from thin JAR HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snowflake-jdbc.