We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b666d5a commit 251d889Copy full SHA for 251d889
_patches/WvcLib.scala
@@ -33,9 +33,8 @@ object WvcLib extends LogSupport:
33
@exported("wvlet_compile_query")
34
def compile_query(queryJson: CString): CString =
35
try
36
- val json = fromCString(queryJson)
37
- val query = MessageCodec.of[String].fromJson(json)
38
- val args = Array("-q", query, "-x")
+ val json = fromCString(argJson)
+ val args = MessageCodec.of[Array[String]].fromJson(json)
39
val (sql, _) = WvcMain.compileWvletQuery(args)
40
41
val buffer = stackalloc[CChar](sql.length + 1)
0 commit comments