Closed ashoksahoo closed 4 years ago
Don’t use shortid. It has an architecture problem and does not maintain anymore. Switch to Nano ID.
For table names, switch alphabet to alphabetic character (A…Z) or underscore character. I recommend to add some prefix to avoid using reserved SQL key word.
I want something which satisfies this for generating a temporary table name, for a specific ETL operation id. I can replace the dash with a dollar and keep generating until it satisfies the Rule-1 and also maybe a check for rule 5.
Can we get a config where we can set these kinds of rules?