Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only serialize Array URI if client side #1806

Merged

Conversation

Shelnutt2
Copy link
Member

We should avoid returning the absolute array URI in the schema when sending from server to client. Only serialize the array if we are client side, in which case the URI was already known to open the array.

@Shelnutt2 Shelnutt2 requested a review from joe-maley September 21, 2020 18:08
@Shelnutt2 Shelnutt2 force-pushed the sethshelnutt/ch3164/don-t-return-array-uri-in-schema-serverside branch from bdd102d to 89d0070 Compare September 21, 2020 18:09
@@ -41,6 +41,7 @@

* Fixed bug in setting a fill value for var-sized attributes.
* Fixed a bug where the cpp headers would always produce compile-time warnings about using the deprecated c-api "tiledb_coords()" [#1765](https://github.com/TileDB-Inc/TileDB/pull/1765)
* Only serialize the Array URI in the array schema client size. [#1806](https://github.com/TileDB-Inc/TileDB/pull/1806)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/size/side

Copy link
Contributor

@joe-maley joe-maley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Shelnutt2 Shelnutt2 force-pushed the sethshelnutt/ch3164/don-t-return-array-uri-in-schema-serverside branch 3 times, most recently from 31916a8 to 60cf498 Compare September 22, 2020 11:38
We should avoid returning the absolute array URI in the schema when
sending from server to client. Only serialize the array if we are client
side, in which case the URI was already known to open the array.
@Shelnutt2 Shelnutt2 force-pushed the sethshelnutt/ch3164/don-t-return-array-uri-in-schema-serverside branch from 60cf498 to 50a76b9 Compare September 22, 2020 11:48
@ihnorton ihnorton merged commit 3e0ede3 into dev Sep 22, 2020
@Shelnutt2 Shelnutt2 deleted the sethshelnutt/ch3164/don-t-return-array-uri-in-schema-serverside branch June 8, 2021 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants