Handle the sql type named LONG
Open
Contributions Welcome
Feature/Change Description
- Dominant language
- Java
- Stars
- 14.1k
- Forks
- 3.8k
- Avg merge
- 2d 58m
- Merged PRs (30d)
- 233
Description
### Motivation
People using the native engine may write `CAST( some AS LONG )` because they used to work with those types - however the sql parser doesn't know that type and returns an error.
### Description
It could be handled as an alias to `BIGINT`
Contributor guide
Research direction
Start by locating the SQL parser's type handling for CAST and the existing handling or tests for BIGINT. Add coverage showing that LONG is accepted as an alias for BIGINT, then run the relevant SQL parser tests to confirm CAST expressions no longer fail.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100