[bug] Potential risks on radon metadata based on different os.
hustjieke opened this issue · 1 comments
hustjieke commented
For windows(default not set case sensitive) and some ios system(If not set case sensitive), If radon has metadata like T1.json
and t1.json
and do operation like drop
or rename
with table T1.json
, the t1.json
will alse be removed.
The create
alse has the same risks, e.g.:
create table t1(....) success, metadata file: t1.json
create table T1(...) fail, (The backend not set case sensitive, so the table t1_000...has already exists),radon will delete `T1.json` file,also the `t1.json` file will be removed too.
We should add some checks on if the system has set case sensitive or not.
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.