You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "n0r0shi (via GitHub)" <gi...@apache.org> on 2026/02/25 06:45:34 UTC
[PR] [WIP] feat: support charTypeWriteSideCheck and varcharTypeWriteSideCheck via StaticInvoke [datafusion-comet]
n0r0shi opened a new pull request, #3593:
URL: https://github.com/apache/datafusion-comet/pull/3593
# Summary
- Add Rust UDFs for Spark's char/varchar write-side validation (`CharVarcharCodegenUtils.charTypeWriteSideCheck` / `varcharTypeWriteSideCheck`), triggered when
inserting into `CHAR(n)` / `VARCHAR(n)` columns
- `charTypeWriteSideCheck`: pad shorter strings with spaces, trim trailing spaces if longer, error if exceeds limit
- `varcharTypeWriteSideCheck`: pass through if within limit, trim trailing spaces if longer, error if exceeds limit
- Wire via `StaticInvoke` handler in `statics.scala` using `CometScalarFunction`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] [WIP] feat: support charTypeWriteSideCheck and varcharTypeWriteSideCheck via StaticInvoke [datafusion-comet]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #3593:
URL: https://github.com/apache/datafusion-comet/pull/3593#issuecomment-4323756382
Thank you for your contribution. Unfortunately, this pull request is stale because it has been open 60 days with no activity. Please remove the stale label or comment or this will be closed in 7 days.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] [WIP] feat: support charTypeWriteSideCheck and varcharTypeWriteSideCheck via StaticInvoke [datafusion-comet]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #3593: [WIP] feat: support charTypeWriteSideCheck and varcharTypeWriteSideCheck via StaticInvoke
URL: https://github.com/apache/datafusion-comet/pull/3593
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org