Skip to content

Add check for missing column in array write#483

Merged
eddelbuettel merged 1 commit intomasterfrom
de/sc-23320/error_on_missing_columns_write
Nov 10, 2022
Merged

Add check for missing column in array write#483
eddelbuettel merged 1 commit intomasterfrom
de/sc-23320/error_on_missing_columns_write

Conversation

@eddelbuettel
Copy link
Copy Markdown
Contributor

This PR addresses the situation brought up on the community slack in a subset of columns used in an attempt to write. An existing test for this situation was not specific enough as this array has two dimensions and four attributions, and a four column object was written so we triggered the wrong error message. Now it gets us

$ ./exampleScript.R 
Error: Columns 'Low, Close' are missing. Please add them
Execution halted
$ 

which identifies the missing attributes by name.

@shortcut-integration
Copy link
Copy Markdown

This pull request has been linked to Shortcut Story #23320: Investigate write with subset of columns.

Copy link
Copy Markdown
Member

@aaronwolen aaronwolen left a comment

Choose a reason for hiding this comment

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

👍

@eddelbuettel eddelbuettel merged commit 5f5f54b into master Nov 10, 2022
@eddelbuettel eddelbuettel deleted the de/sc-23320/error_on_missing_columns_write branch November 10, 2022 00:57
eddelbuettel added a commit that referenced this pull request Nov 18, 2022
eddelbuettel added a commit that referenced this pull request Nov 24, 2022
eddelbuettel added a commit that referenced this pull request Nov 28, 2022
eddelbuettel added a commit that referenced this pull request Nov 29, 2022
* Default sparse read via tiledb_array to UNORDERED

* Use nchar(layout) not length, and wrap in isTRUE for comparison

* Update NEWS.md for #483, #484, #485, and #487

* Update NEWS for #488 [ci skip]

* Roll micro release to 0.16.0.3 [ci skip]

* Add codecov.yml to .Rbuildignore

* Tighten one version-based test exclusion
@eddelbuettel eddelbuettel mentioned this pull request Dec 1, 2022
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