andygrove commented on code in PR #4977:
URL: https://github.com/apache/arrow-datafusion/pull/4977#discussion_r1080641201


##########
datafusion/sql/tests/integration_test.rs:
##########
@@ -3390,6 +3390,45 @@ Dml: op=[Update] table=[person]
     prepare_stmt_replace_params_quick_test(plan, param_values, expected_plan);
 }
 
+#[test]
+fn test_prepare_statement_insert_infer() {
+    let sql = "insert into person (id, first_name, last_name) values ($1, $2, 
$3)";

Review Comment:
   Could you add a test for an invalid case as well, such as an out-of-bounds 
placeholder, so we can see what the UX is like for that?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to