Closed aripollak closed 4 years ago
Could you please add a test and a changelog entry?
Should nulls be blanks instead? (From doing SELECT NULL
in psql, it looks like psql uses blanks for nulls.)
Could you please add a test and a changelog entry?
👍 to changelog entry. Do we want to start adding tests for extra CLI commands?
Should nulls be blanks instead? (From doing
SELECT NULL
in psql, it looks like psql uses blanks for nulls.)
🤷♂ Maybe it should be configurable? The Platform UI shows NULL.
It looks like there's already a relevant test that would be pretty easy to copy/extend to check the None
case.
Maybe ambiguity between "NULL"
and NULL
would be better than ambiguity between ""
and NULL
, but showing blanks for nulls would probably be quite a bit more readable. I think I'd rather follow psql's lead and use blanks since we can't italicize like in the platform web interface.
Adding an option seems like overkill at this point, but I'd be fine with it.
Before this change, running
civis sql
with some cells being NULL results in this error: