missing errorCode and statusCode on errors
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- node.js, sql, typescript
调研方向
该 issue 未指明文件、测试或入口点。通过 Node.js 连接器复现所示的 Spark SQL 解析错误,然后跟踪响应对象的 statusCode 和 errorCode 是如何处理的;完成的标志是这些字段会暴露在最终产生的错误上,而不只是出现在错误消息中。
由索引模型根据 Issue 内容生成。
描述
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
}
- 主要语言
- TypeScript
- 星标
- 36
- 派生
- 50
- 平均合并
- 13 小时 46 分钟
- 30 天内合并 PR
- 9
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
databricks/databricks-sql-nodejs 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
engineer-bot
难度 2/5 1-3 小时 新手友好度 64/100
databricks/databricks-sql-nodejs#274 · 1 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 35/100
查看 databricks/databricks-sql-nodejs 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
bug v2
难度 2/5 1-3 小时 新手友好度 75/100
modelcontextprotocol/inspector#2458 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
难度 2/5 1-3 小时 新手友好度 70/100
carbon-design-system/ibm-products#9907 ·