When using impala query, an error will be reported when using cast function to convert data to decimal type:
Bad status for request TFetchResultsReq(fetchType=0, operationHandle=TOperationHandle(hasResultSet=True,
modifiedRowCount=None, operationType=0, operationId=THandleIdentifier(secret='\xc8\xc1j\xfe\xd6.B\xa2\x9e\xc8\x1a63\xfb\x15\xf2'
, guid='\xf8\x82.\x81^\xabE\x7f\x00\x00\x00\x00\xda\xf8\xa9\xa1')), orientation=4, maxRows=100)
: TFetchResultsResp(status=TStatus(errorCode=None, errorMessage='UDF ERROR: Decimal expression
overflowed\n', sqlState='HY000', infoMessages=None, statusCode=3), results=None, hasMoreRows=None)
After checking a wave, I found that it was a bug in impala
bug link: https://issues.apache.org/jira/browse/IMPALA-6405
It seems that the bug still exists. Here is a screenshot of my test:
Solution: do not convert to decimal, or convert in other ways.
Read More:
- Impala Find Error: InternalException: Memory limit exceeded: Error occurred on backend
- DB2 detects a syntax error in the DRDA data stream: 0x3 ERRORCODE= -4499, SQLSTATE=58009
- [Solved] Excel solver: Error Log 3_Decimal result after non negative constraint
- [Solved] Camera Calibration Error: ErrorMessage: Image size does not match the measurement in camera parameters
- How to Solve “Status bar could not find cached time string image. Rendering in-process.” in Xcode
- [Solved] webpack.config.js configuration encountered Error: Cannot find module’@babel/core’&&Cannot find module’@babel/plugin-transform-react-jsx’
- [Solved] Failed to find glog – Could not find glog include directory, set…
- [Solved] C# Access Mongodb Database Error: command find failed: Command find requires authentication
- DevC++ Error: [Error] Id returned 1 exit status [How to Solve]
- Jenkins Error: code=exited, status=127 [How to Solve]
- RuntimeError: CUDNN_STATUS_EXECUTION_FAILED [How to Solve]
- Dev C++ Error: error: ld returned 1 exit status [How to Solve]
- When installing zookeeper, you can view the process start, but the status display error: Error contacting service. It is probably not running
- IDEA Error: clear read-only status [How to Solve]
- [Solved] RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)`
- feign.FeignException: status 404 reading XXXClient#XXMethod(String)
- CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling `cublasCreate(handle)`
- Cobbler status error pxe-e61: Media test failure, check cable
- Tensorflow Error polling for event status: failed to query event: CUDA_ERROR_ILLEGAL_ADDRESS
- VSCode Error: collect2.exe:error:1d returned 1 exit status [How to Solve]