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

Fix SQL argument growth condition #220

Merged
merged 18 commits into from
Apr 23, 2020
Merged

Conversation

guzman-raphael
Copy link
Collaborator

Fix #217

@guzman-raphael guzman-raphael requested review from dimitri-yatsenko and eywalker and removed request for dimitri-yatsenko and eywalker April 15, 2020 18:09
@guzman-raphael guzman-raphael marked this pull request as draft April 15, 2020 18:15
@guzman-raphael guzman-raphael marked this pull request as ready for review April 15, 2020 20:55
+dj/Relvar.m Outdated
@@ -215,35 +215,36 @@ function insert(self, tuples, command)
% value: <var> Processed, in-place value ready for insert.
% placeholder:<string> Placeholder for argument substitution.
% attr_idx: <num> Attribute order index.
if header.attributes(attr_idx).isString
if isempty(value) || (header.attributes(attr_idx).isNumeric && isnan(value))
Copy link
Member

@dimitri-yatsenko dimitri-yatsenko Apr 15, 2020

Choose a reason for hiding this comment

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

What about an empty string? I will review this more carefully later tonight. But keep in mind that empty strings are distinct from null. This looks as though empty strings will be entered as null.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point, I will review/test it once more too. How are nulls expected to return from a fetch for the common datatypes?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Addressed

@guzman-raphael guzman-raphael marked this pull request as draft April 17, 2020 21:29
@guzman-raphael guzman-raphael marked this pull request as ready for review April 23, 2020 07:26
@eywalker eywalker merged commit 1838128 into external-storage Apr 23, 2020
@guzman-raphael guzman-raphael deleted the stage-external-storage2 branch May 4, 2020 19:26
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