explorerhq / explorerhq/sql-explorer

'CREATE OR REPLACE' missing in EXPLORER_SQL_BLACKLIST

Open
#704 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.9k
Forks
373
PR merge metrics
No merged PRs in 30d

Description

The CREATE statement is already on the EXPLORER_SQL_BLACKLIST, but SQLparse package treats 'CREATE OR REPLACE' as a different token, so the check for blacklisted commands in `explorer/utils.pl:35` does not detect it.

Just adding 'CREATE OR REPLACE' to the blacklist would be sufficient.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.