Question / Suggestion: Add a flag for suppressing decimals ?
My use-case: I use csvsql
to quickly build schemas based on text files. I'm very happy with it, but sometimes forget to modify some DECIMAL
fields to be integers, as a lot of the data I work with is relational and uses integer-based foreign keys.
The docs are unambiguous in its opinion, for good reason I think:
Output favors consistency over brevity: Numbers always include at least one decimal place, even if they are round
But I wondered if adding an optional flag, i.e. --int
to suppress this behavior, would be a welcome change? I may put together a PR if there's interest.