Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Tools should be able to recognize dataType aliases #1492

Open
amahussein opened this issue Jan 9, 2025 · 0 comments
Open

[BUG] Tools should be able to recognize dataType aliases #1492

amahussein opened this issue Jan 9, 2025 · 0 comments
Labels
? - Needs Triage bug Something isn't working core_tools Scope the core module (scala)

Comments

@amahussein
Copy link
Collaborator

Describe the bug

The SQL spark define aliases for some datatypes. The tools should be able to recognize the mapping in order to accurately get accurate estimation

Data Type Aliases
Numeric Types
ByteType TINYINT
ShortType SMALLINT
IntegerType INT, INTEGER
LongType BIGINT
FloatType FLOAT, REAL
DoubleType DOUBLE
DecimalType DECIMAL, NUMERIC
String and Binary
StringType STRING, VARCHAR, CHAR
BinaryType BINARY
Date and Time
DateType DATE
TimestampType TIMESTAMP
TimestampNTZType TIMESTAMP WITHOUT TIME ZONE
Boolean
BooleanType BOOLEAN
Complex Types
ArrayType ARRAY
MapType MAP
StructType STRUCT
NullType NULL
Other Types
BinaryType BLOB
IntervalType INTERVAL
@amahussein amahussein added ? - Needs Triage bug Something isn't working core_tools Scope the core module (scala) labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
? - Needs Triage bug Something isn't working core_tools Scope the core module (scala)
Projects
None yet
Development

No branches or pull requests

1 participant