Comments (5)
I think about it will be better to sync not only SDK, but server too - for have same behaviour of SDK and YQL/SQL.
from ydb.
Why we must return error? It brokes some conversations like JDBC standard. From here Column names used as input to getter methods are case insensitive. When a getter method is called with a column name and several columns have the same name, the value of the first matching column will be returned.
from ydb.
It's worth to discus. Since currently i.e. NodeJS SDK has no mechanism to fetch columns by index at all. As a solution, we could think about adding an index to the column name if the name is duplicated
from ydb.
Why we must return error? It brokes some conversations like JDBC standard.
This behavour will be at server queries and it is safest way - we always can start to support duplicated names, but it is difficult to change behavior.
may be reaction way need more research.
Main idea was:
- Now we don't support duplicated names on server side
- We will support duplicated names on server side in results
- Safest way - deny use unexpected column
from ydb.
Our API has always supported the columns with any names, including duplicated. So these is no difference - does server support it or doesn't, the SDKs have to support it already. The only think we have to decide - the behavior of various SDKs must be equal. I checked Java SDK and it returns the last matching column - but it seems very as non conversational behavior. What about others SDK?
from ydb.
Related Issues (20)
- Missing Passthrough(_yql_preagg_Count0:id) constraint in node AsStruct
- [pg] Support alter sequence
- PRAGMA TablePathPrefix for ALTER TOPIC
- Return error for create replication without token
- Option to configure DNS in ydb resolver HOT 1
- DataShard: simplify dependency tracker and remove non-MVCC transaction support
- Stream lookup backward compatibility
- ReadTable doesn't work with non-optional key bounds and always emits Optional columns into result
- Distinguish OLAP nodes in kqp
- ReadTable call ignores NOT NULL type HOT 1
- Support online StateStorage reconfiguration
- Enable BSC SelfHeal managing static group
- [[bug]]: pq token refresh error
- [[multiregional YDB capabilities]]: Allow ddl in master table and dml in replica table
- [[multiregional YDB capabilities]]: replication of sync index
- [[multiregional YDB capabilities]]: make possible to create multiple stream for CDC HOT 1
- Make CreatePQ operation cancelable
- Check for http content-type must be case insensitive HOT 1
- Weight of column in viewer calculated based on viewed part of columns
- Support Int8 for literals
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 ydb.