Created
April 15, 2021 15:17
-
-
Save omidp/7563ef6fecbcf947949f4d656fac97ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT * | |
| FROM OPENDATA | |
| WHERE other_tags IS NOT JSON; | |
| create search index table_log_idx on tbl_lg (jsoncolumn) for json; | |
| alter table table_log_idx add constraint ensure_json check (jsoncolumn is json) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment