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

Document how null values are managed #2126

Open
stevebang opened this issue Aug 22, 2019 · 2 comments
Open

Document how null values are managed #2126

stevebang opened this issue Aug 22, 2019 · 2 comments
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue

Comments

@stevebang
Copy link
Contributor

stevebang commented Aug 22, 2019

Jira Link: DB-1910
Document:

  • how sparse datasets are managed
  • NULL values are not stored
  • subtlety about handling rows where most columns are NULL
  • hidden system column that indicates row existence

See:

@stevebang stevebang added the area/documentation Documentation needed label Aug 22, 2019
@stevebang stevebang self-assigned this Aug 22, 2019
@stevebang
Copy link
Contributor Author

See also this thread in Slack (yugabyte-db) on Aug. 22, 2019:

James Hartig Today at 7:06 AM
Are NULL values just like cassandra, where if I don't include the field in the INSERT it's not stored at all but if I actually send a NULL then it stores a tombstone? Any downsides to not having the field stored at all?

2 replies

Kannan Muthukkaruppan 3 hours ago
@james Hartig - that is correct. It is more efficient to not send those NULLs since they will not be stored at all. And no downsides to it.

James Hartig 3 hours ago
👍 thanks

@stevebang
Copy link
Contributor Author

Another source of info for what might be relevant to discuss: https://www.sqlite.org/nulls.html

@stevebang stevebang added this to To do in Documentation Aug 28, 2019
@stevebang stevebang removed this from Planned in Documentation Jan 28, 2020
@stevebang stevebang assigned bllewell and unassigned stevebang Oct 26, 2020
@stevebang stevebang added the area/ysql Yugabyte SQL (YSQL) label Oct 26, 2020
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jun 9, 2022
@yugabyte-ci yugabyte-ci removed the area/documentation Documentation needed label Jul 9, 2022
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature and removed kind/bug This issue is a bug labels Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
Status: No status
Development

No branches or pull requests

3 participants