From fcec976d8323095d0a422ba29d18d099a96cff2f Mon Sep 17 00:00:00 2001 From: 51-code <146736881+51-code@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:05:49 +0200 Subject: [PATCH] Added missing fields to bloom translation test queries (#445) --- .../com/teragrep/pth10/translationTests/TeragrepTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/teragrep/pth10/translationTests/TeragrepTest.java b/src/test/java/com/teragrep/pth10/translationTests/TeragrepTest.java index cb7aa691..7faeb3d7 100644 --- a/src/test/java/com/teragrep/pth10/translationTests/TeragrepTest.java +++ b/src/test/java/com/teragrep/pth10/translationTests/TeragrepTest.java @@ -326,7 +326,7 @@ void testTeragrepHdfsDeleteTranslation() { @Test void testTeragrepBloomCreateTranslation() { - final String query = "| teragrep exec bloom create"; + final String query = "| teragrep exec bloom create table myTable regex \\w{4}"; final CharStream inputStream = CharStreams.fromString(query); final DPLLexer lexer = new DPLLexer(inputStream); final DPLParser parser = new DPLParser(new CommonTokenStream(lexer)); @@ -353,7 +353,7 @@ void testTeragrepBloomCreateTranslation() { @Test void testTeragrepBloomUpdateTranslation() { - final String query = "| teragrep exec bloom update"; + final String query = "| teragrep exec bloom update table myTable regex \\w{4}"; final CharStream inputStream = CharStreams.fromString(query); final DPLLexer lexer = new DPLLexer(inputStream); final DPLParser parser = new DPLParser(new CommonTokenStream(lexer));