-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
(Question for SQLSHR-229)
In the Beta version of SQLShare, we try to guess the type of data a column is in, so that a column of integers can reliably have integer operations performed on it. I'm hoping to expand that to things like dates, and other complex types.
But - it doesn't always work out. Taxonomy IDs for example look like numbers, but aren't.
I have two ideas for addressing this:
- give up on smart detection, and just make everything nvarchar(max), and let users cast as needed.
- create 2 columns when it's detected as not-text. 1 being the detected type, and the other being an nvarchar(max) column of the original data.
Do either of those sound good, or is there another approach that should be taken?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels