missing errorCode and statusCode on errors
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- node.js, sql, typescript
Research direction
The issue does not name files, tests, or entry points. Reproduce the shown Spark SQL parse error through the Node.js connector, then trace how the response object's statusCode and errorCode are handled; done means those fields are exposed on the resulting error rather than only its message.
Written by the indexing model from the issue text.
Description
Hi,
in case of error there is no indication in errorCode and statusCode (or maybe also other fields), only the message
response: {
status: {
statusCode: 0,
infoMessages: null,
sqlState: null,
errorCode: null,
errorMessage: null
},
operationState: 5,
sqlState: null,
errorCode: 0,
errorMessage: 'org.apache.hive.service.cli.HiveSQLException: Error running query: org.apache.spark.sql.catalyst.parser.ParseException: \n' +
'DataType string(35) is not supported.(line 6, pos 28)\n' +
...
...
taskStatus: null,
operationStarted: null,
operationCompleted: null,
hasResultSet: null,
progressUpdateResponse: null,
numModifiedRows: null
}
- Dominant language
- TypeScript
- Stars
- 36
- Forks
- 50
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 12
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from databricks/databricks-sql-nodejs
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
engineer-bot
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
databricks/databricks-sql-nodejs#274 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
All issues in databricks/databricks-sql-nodejs
Similar issues
-
Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenNSW/nsw-srilanka#497 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
Difficulty 1/5 Under an hour Newbie friendliness 88/100
digidem/comapeo-cloud-app#403 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100