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

Split coordinates file into multiple files, one per dimension #1462

Merged
merged 1 commit into from
Dec 31, 2019

Conversation

stavrospapadopoulos
Copy link
Member

@stavrospapadopoulos stavrospapadopoulos commented Dec 20, 2019

Towards addressing #93

  • Makes appropriate changes to Reader
  • Ensures backwards compatibility
  • Changed fragment name from __t1_t2_uuid to __t1_t2_uuid_<format_version>. That was necessary for backwards compatibility

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 -- just a few nits

@@ -216,6 +219,12 @@ class ArraySchema {
*/
Status has_attribute(const std::string& name, bool* has_attr) const;

// Returns true if the input name is an attribute
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a period at the end of this sentence so that it will be consistent with the other routine comments in this file. Same for line 225.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch, in fact the comment should have Doxygen format.

tiledb/sm/misc/utils.cc Outdated Show resolved Hide resolved
Status Reader::zip_coord_tiles(
const std::vector<ResultTile*>& tmp_result_tiles) const {
// Initialize zipped coordinate tiles
std::map<URI, std::vector<std::tuple<uint64_t, void*, uint64_t>>> all_regions;
Copy link
Contributor

Choose a reason for hiding this comment

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

this appears to be unused in this routine.

Copy link
Member Author

Choose a reason for hiding this comment

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

Weird that the compiler did not catch it.

tiledb/sm/query/reader.cc Outdated Show resolved Hide resolved
…ppropriate changes to Reader. Ensure backwards compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants