mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-13 21:17:08 +00:00
[improvement](project) Adding tag abstraction to the dictionary and optimizing related code. (#785)
This commit is contained in:
@@ -32,11 +32,6 @@ public class SqlSelectFunctionHelper {
|
||||
return SqlSelectHelper.hasGroupBy(sql);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
String sql = "select a from table";
|
||||
System.out.println(hasAggregateFunction(sql));
|
||||
}
|
||||
|
||||
public static boolean hasFunction(String sql, String functionName) {
|
||||
Set<String> functions = getFunctions(sql);
|
||||
if (!CollectionUtils.isEmpty(functions)) {
|
||||
|
||||
Reference in New Issue
Block a user