[FEATURE REQUEST] Descriptive error message with exception when having invalid data in BULK INSERT #2610
Labels
Under Investigation
Used for issues under investigation
Waiting for Response
Waiting for a reply from the original poster, or affiliated party
Is your feature request related to a problem? If so, please give a short summary of the problem and how the feature would resolve it
We are consuming, mssql-jdbc driver version
12.4.2.jre11
with mssql-spark-connector version3.1
.And while loading the data from CSV to target database with some invalid data (i.e length of data in csv file exceeds than column length in target database's table) then it failed with generic error message
Bulk load data was expected but not sent. The batch will be terminated.
.Through its is almost impossible to diagnose the RCA of failure, please refer the sample stacktrace in case of such failure:
Describe the preferred solution
Error should properly point against which table's and column having issue with specific data. For example),
Describe alternatives you've considered
Additional context
Reference Documentations/Specifications
Reference Implementation
The text was updated successfully, but these errors were encountered: