我正在测试官方teradata网站上的 fastload示例代码.为了谨慎起见,我FastLoad1.csv在这里使用样本上的样本
当我运行此示例代码时,我在此行中收到错误
pstmtFld.setAsciiStream(1, dataStream, -1); // This method is not implemented
Run Code Online (Sandbox Code Playgroud)
setAsciiStream如何与预准备语句一起使用?
我使用setAsciiStream正确吗?
这是控制台中的错误消息
Attempting connection to Teradata with FastLoadCSV.
Connection to Teradata with FastLoadCSV established.
Creating a PreparedStatement object with FastLoadCSV.
Created a PreparedStatement object with FastLoadCSV.
Checking connection for warnings
Streaming FastLoad1.csv
SQL State = HY000, Error Code = 1151
com.teradata.jdbc.jdbc_4.util.JDBCException: [Teradata JDBC Driver] [TeraJDBC 14.10.00.17] [Error 1151] [SQLState HY000] A failure occurred while setting a parameter value for …Run Code Online (Sandbox Code Playgroud)