Skip to content

Conversation

@Hisoka-X
Copy link
Member

Purpose of this pull request

Add TRIM_SCALE function for sql transform.Reduce the scale of a number by removing trailing zeroes. This method returns a value of string, and with adjusted scale.
Please refer https://neon.com/postgresql/postgresql-math-functions/postgresql-trim_scale

Does this PR introduce any user-facing change?

no

How was this patch tested?

add new test

Check list

@corgy-w corgy-w merged commit d3571e3 into apache:dev Aug 15, 2025
5 checks passed
xiaochen-zhou added a commit to TongchengOpenSource/seatunnel that referenced this pull request Aug 17, 2025
1

1

1

1

1

update doc

[Improve][Csv] support configurable CSV delimiter in file connector (apache#9660)

[Fix][Doc] Fix rest api finished-jobs doc miss `SAVEPOINT_DONE` (apache#9676)

[Fix] [connector-jdbc] prevent precision loss in Float to BigDecimal conversion (apache#9670)

[Feature][Connector-File-Hadoop]Support multi table sink feature for HdfsFile (apache#9651)

[HotFix][CI] The Some CI subtasks are not executed (apache#9684)

[Docs][Connector-Iceberg] Update Iceberg doc with support S3 Tables rest catalogs (apache#9686)

[Docs] update jdbc related document (apache#9679)

[Fix][Connector-V2] Fix misleading parameter name in DorisStreamLoad (apache#9685)

[Feature] [connector-file] Add configurable sheet_max_rows support for Excel sink connector (apache#9668)

[fix][connectors-v2] repeated commit cause task exceptions (apache#9665)

[Feature][connector-v2] Add Sensorsdata Connector Support apache#9323 (apache#9432)

[Improve][API] Optimize the enumerator API semantics and reduce lock calls at the connector level (apache#9671)

[Hotfix][Zeta] Fix custom https port configuration not working (apache#9705)

[Improve][Doc] Add SeaTunnel tools into Readme (apache#9707)

[Improve][Core] Unify the aws-sdk-v2 version to 2.31.30 (apache#9698)

[Feature][Transform-V2] Add `TRIM_SCALE` function for sql transform (apache#9700)

[Improve][Core] Update apache common to apache common lang3 (apache#9694)

Co-authored-by: litiliu <[email protected]>
HighandLight pushed a commit to HighandLight/seatunnel that referenced this pull request Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants