Skip to content

feat(mysql)!: annotation support for ELT function#6659

Merged
VaggelisD merged 1 commit intotobymao:mainfrom
AbhishekASLK:abhishekaslk/annotate-type-elt-function
Jan 7, 2026
Merged

feat(mysql)!: annotation support for ELT function#6659
VaggelisD merged 1 commit intotobymao:mainfrom
AbhishekASLK:abhishekaslk/annotate-type-elt-function

Conversation

@AbhishekASLK
Copy link
Contributor

ELT(1, 'a', 'b', 'c')

Before:

Elt(
  this=Literal(this=1, is_string=False, _type=DataType(this=Type.INT)),
  expressions=[
    Literal(this='a', is_string=True, _type=DataType(this=Type.VARCHAR)),
    Literal(this='b', is_string=True, _type=DataType(this=Type.VARCHAR)),
    Literal(this='c', is_string=True, _type=DataType(this=Type.VARCHAR))],
  _type=DataType(this=Type.UNKNOWN))

After:

Elt(
  this=Literal(this=1, is_string=False, _type=DataType(this=Type.INT)),
  expressions=[
    Literal(this='a', is_string=True, _type=DataType(this=Type.VARCHAR)),
    Literal(this='b', is_string=True, _type=DataType(this=Type.VARCHAR)),
    Literal(this='c', is_string=True, _type=DataType(this=Type.VARCHAR))],
  _type=DataType(this=Type.VARCHAR))

Documentation

@VaggelisD VaggelisD merged commit 13251fd into tobymao:main Jan 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants