Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/18046#discussion_r117628793
--- Diff: sql/core/src/test/resources/sql-tests/results/operators.sql.out
---
@@ -316,3 +316,25 @@ select cot(-1)
struct<COT(CAST(-1 AS DOUBLE)):double>
-- !query 37 output
-0.6420926159343306
+
+-- !query 38
+select bit_length(`abc`)
+-- !query 38 schema
+struct<BIT_LENGTH(abc):int>
+-- !query 38 output
+24
+
+-- !query 39
+select character_length(`abc`)
+-- !query 39 schema
+struct<CHARACTER_LENGTH(abc):int>
+-- !query 39 output
+3
+
+-- !query 40
+select octet_length(`abc`)
--- End diff --
Should we use an example string which returns different results on
`character_length` and `octet_length`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]