Skip to content

[DRAFT] Parameter markers in DDL. - #51410

Closed
srielau wants to merge 13 commits into
apache:masterfrom
srielau:parmsubstitution
Closed

[DRAFT] Parameter markers in DDL.#51410
srielau wants to merge 13 commits into
apache:masterfrom
srielau:parmsubstitution

Conversation

@srielau

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

@srielausrielau changed the title Parmsubstitution[DRAFT] ParmsubstitutionJul 9, 2025
@srielausrielau changed the title [DRAFT] Parmsubstitution[DRAFT] Parameter markers in DDL.Jul 9, 2025
"'" + st.typeName.substring(6)
case (v: Byte, ByteType) => s"${v}Y"
case (v: Short, ShortType) => s"${v}S"
case (v: Int, IntegerType) => s"${v}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the same as the last catch-all case: case _ => value.toString

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I suspected as much. However I thought it useful to be explicit.
In fact I'm wondering whether we should remove the catch-all in favor of an error. Wonder what we would fine....

@dongjoon-hyun
dongjoon-hyun marked this pull request as draft August 30, 2025 20:22
@github-actions

Copy link
Copy Markdown

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@srielau@cloud-fan