Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add postgreSql character length functions (#4121)
* Add Integration test for PostgreSql Dialect length function Test for length function can be executed standalone. Test for Nullable type support is generated * Add Character length functions for PostgreSql Dialect Returns number of characters in the string or will return NULL if expression is NULL. In PostgreSql the following are synonymous and are Ansi Sql supported. length ( In MySql the length function is in bytes ) char_length character_length char_length is ANSI SQL Standard and the explicitly named character_length, as multibyte character counts as a single character not as bytes. Examples char_length ( text ) -> integer char_length('jose') -> 4 char_length('海豚') -> 2 char_length(NULL) -> NULL * Add Integration test fixture * Add test fixture for PostgreSql length function Support for all character length functions can be used in check constraint. * Remove repetitive declaratiion * Fix failing test lowercase to compile - not sure if this should matter * Length Function test Shows the error Type mismatch: inferred type is String but Int? was expected * Revert "Length Function test" This reverts commit 04ad12f.
- Loading branch information