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

missing errorCode and statusCode on errors #33

Open
oleg-mirzaev opened this issue Jul 25, 2022 · 0 comments
Open

missing errorCode and statusCode on errors #33

oleg-mirzaev opened this issue Jul 25, 2022 · 0 comments
Labels

Comments

@oleg-mirzaev
Copy link

oleg-mirzaev commented Jul 25, 2022

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
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants