You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/11/15 22:23:16 UTC

[GitHub] [pinot] agavra commented on a diff in pull request #9798: [multistage] add tests for lexical structure and value exprs

agavra commented on code in PR #9798:
URL: https://github.com/apache/pinot/pull/9798#discussion_r1023315898


##########
pinot-query-runtime/src/test/resources/queries/ValueExpressions.json:
##########
@@ -0,0 +1,102 @@
+{
+  "subscript": {
+    "psql": "4.2.3",
+    "ignored": true,
+    "comment": "query runner test doesn't yet support multivalue columns",
+    "tables": {
+      "tbl": {
+        "schema":[{"name": "data", "type": "INT[]"}],
+        "inputs": [[[1]]]
+      }
+    },
+    "queries": [{
+      "description": "test array subscripting",
+      "sql": "SELECT data[0] FROM {tbl}"
+    }]
+  },
+  "scalar_function_call": {
+    "psql": "4.2.6",
+    "tables": {
+      "tbl": {
+        "schema":[{"name": "data", "type": "STRING"}],
+        "inputs": [[" foo "]]
+      }
+    },
+    "queries": [{
+      "description": "test basic function call syntax works",
+      "sql": "SELECT trim(data) FROM {tbl}"
+    }]

Review Comment:
   sorry not sure I understood?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org