Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hive Sql测试错误 #1

Open
chenyanlann opened this issue Dec 24, 2021 · 6 comments
Open

Hive Sql测试错误 #1

chenyanlann opened this issue Dec 24, 2021 · 6 comments

Comments

@chenyanlann
Copy link
Owner

chenyanlann commented Dec 24, 2021

Hive Sql测试错误

@chenyanlann
Copy link
Owner Author

{ "[]": { "Comment": { "@column": "DISTINCT momentId;count(DISTINCT userId)" , "@group": "momentId" }, "page": 0 }, "ok": false , "code": 500 , "msg": "Error while compiling statement: FAILED: SemanticException 1:86 SELECT DISTINCT and GROUP BY can not be in the same query. Error encountered near token 'momentId'" , "throw": "org.apache.hive.service.cli.HiveSQLException" }

@chenyanlann
Copy link
Owner Author

"Error while compiling statement: FAILED: SemanticException [Error 10001]: Line 1:14 Table not found 'ViewTable'"

@chenyanlann
Copy link
Owner Author

{ "ViewTable[]": { "ViewTable": { "toId": 0 , "content~": "a" }, "page": 0 }, "ok": false , "code": 500 , "msg": "Error while compiling statement: FAILED: ParseException line 1:81 cannot recognize input near 'BINARY' ''a'' ')' in expression specification" , "throw": "org.apache.hive.service.cli.HiveSQLException" }

@chenyanlann
Copy link
Owner Author

"Error while compiling statement: FAILED: SemanticException [Error 10011]: Line 1:86 Invalid function 'json_contains'"

@chenyanlann
Copy link
Owner Author

{ "User[]": { "User": { "name~": "^[0-9]+$" }, "count": 3 , "page": 0 }, "ok": false , "code": 500 , "msg": "Error while compiling statement: FAILED: ParseException line 1:64 cannot recognize input near 'BINARY' ''^[0-9]+$'' ')' in expression specification" , "throw": "org.apache.hive.service.cli.HiveSQLException" }

@chenyanlann
Copy link
Owner Author

{ "[]": { "Moment": { "@column": "id,userId,content" }, "User": { "id@": "/Moment/userId" , "@column": "id,name" }, "page": 0 , "join": "@/User/id@" }, "ok": false , "code": 500 , "msg": "Method not supported" , "throw": "java.sql.SQLFeatureNotSupportedException" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant