-
Notifications
You must be signed in to change notification settings - Fork 190
[BUG] Handle DESC Table response properly #2210
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinguntriagedv2.11.0Issues targeting release v2.11.0Issues targeting release v2.11.0
Description
What is the bug?
- Query
DESC my_glue.default.http_logs
- Error response
{
"status": 503,
"error": {
"type": "JSONException",
"reason": "There was internal problem at backend",
"details": "JSONObject[\"comment\"] not found."
}
}
* result data
{
"_index": ".query_execution_result",
"_id": "Y9Ce-YoBCiYjElO8QaLY",
"_score": 1,
"_source": {
"result": [
"{'col_name':'@timestamp','data_type':'timestamp'}",
"{'col_name':'clientip','data_type':'string'}",
"{'col_name':'request','data_type':'string'}",
"{'col_name':'status','data_type':'int'}",
"{'col_name':'size','data_type':'int'}",
"{'col_name':'year','data_type':'int'}",
"{'col_name':'month','data_type':'int'}",
"{'col_name':'day','data_type':'int'}",
"{'col_name':'# Partition Information','data_type':'','comment':''}",
"{'col_name':'# col_name','data_type':'data_type','comment':'comment'}",
"{'col_name':'year','data_type':'int'}",
"{'col_name':'month','data_type':'int'}",
"{'col_name':'day','data_type':'int'}"
],
"schema": [
"{'column_name':'col_name','data_type':'string'}",
"{'column_name':'data_type','data_type':'string'}",
"{'column_name':'comment','data_type':'string'}"
]
}
}
* DESC
+--------------------+---------+-------+
| col_name|data_type|comment|
+--------------------+---------+-------+
| @timestamp|timestamp| null|
| clientip| string| null|
| request| string| null|
| status| int| null|
| size| int| null|
| year| int| null|
| month| int| null|
| day| int| null|
|# Partition Infor...| | |
| # col_name|data_type|comment|
| year| int| null|
| month| int| null|
| day| int| null|
+--------------------+---------+-------+
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinguntriagedv2.11.0Issues targeting release v2.11.0Issues targeting release v2.11.0