Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add Kdocs and update DSL for AllAnyFromBaseOp feature #1960

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

bog-walk
Copy link
Member

@bog-walk bog-walk commented Jan 4, 2024

  • Add some missing KDocs for new objects
  • Make UntypedAndUnsizedArrayColumnType internal (to be replaced by a dedicated ArrayColumnType in the future)
  • Edit tests to reflect new DSL

- Add missing KDocs for all new features
- Make UntypedAndUnsizedArrayColumnType internal
- Edit tests to reflect new DSL
Comment on lines -1006 to +1013
object UntypedAndUnsizedArrayColumnType : ColumnType() {
/**
* Array column for storing arrays of any size and type.
*
* This column type only exists to allow registering an array as a valid SQL type for statement clauses generated
* using `anyFrom(array)` and `allFrom(array)`. It does not correctly process arrays for use in `nonNullValueToString()`
* and will be replaced with a full implementation of ArrayColumnType.
*/
internal object UntypedAndUnsizedArrayColumnType : ColumnType() {
Copy link
Member Author

Choose a reason for hiding this comment

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

A YT issue has been created for the proper implementation of an array column type.

val testDBsSupportingInAnyAllFromTables = TestDB.postgreSQLRelatedDB + TestDB.allH2TestDB
private val testDBsSupportingInAnyAllFromTables = TestDB.postgreSQLRelatedDB + TestDB.allH2TestDB
Copy link
Member Author

Choose a reason for hiding this comment

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

This should include MySQL8 as well, but tests will fail due to the current issue with gradle task testMySql8. A YT issue has been created to add the dialect to the tests once that issue is resolved.

@bog-walk bog-walk requested a review from e5l January 5, 2024 00:24
@bog-walk bog-walk merged commit dfdbe6a into main Jan 5, 2024
5 checks passed
@bog-walk bog-walk deleted the bog-walk/chore-pr-cleanup branch January 5, 2024 11:11
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