Skip to content

Commit

Permalink
[AJ-1279] Add tests for SQL expressions for data type conversions (#476)
Browse files Browse the repository at this point in the history
* Add tests for SQL expressions for data type conversions

* Attempt to get as many of the args statements onto one line

---------

Co-authored-by: Josh Ladieu <[email protected]>
  • Loading branch information
nawatts and jladieu authored Jan 31, 2024
1 parent 089d4c5 commit a7b4cb9
Show file tree
Hide file tree
Showing 2 changed files with 236 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,8 @@ public void updateAttributeDataType(
}
}

private String getPostgresTypeConversionExpression(
@VisibleForTesting
String getPostgresTypeConversionExpression(
String attribute, DataTypeMapping dataType, DataTypeMapping newDataType) {
// Some data types are not yet supported.
// Some conversions don't make sense / are invalid.
Expand Down
Loading

0 comments on commit a7b4cb9

Please sign in to comment.