summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_risingwave.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dialects/test_risingwave.py')
-rw-r--r--tests/dialects/test_risingwave.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/dialects/test_risingwave.py b/tests/dialects/test_risingwave.py
new file mode 100644
index 0000000..7d6d50c
--- /dev/null
+++ b/tests/dialects/test_risingwave.py
@@ -0,0 +1,14 @@
+from tests.dialects.test_dialect import Validator
+
+
+class TestRisingWave(Validator):
+ dialect = "risingwave"
+ maxDiff = None
+
+ def test_risingwave(self):
+ self.validate_all(
+ "SELECT a FROM tbl",
+ read={
+ "": "SELECT a FROM tbl FOR UPDATE",
+ },
+ )