berkaysynnada commented on code in PR #15770: URL: https://github.com/apache/datafusion/pull/15770#discussion_r2083516280
########## datafusion/sqllogictest/test_files/prepare.slt: ########## @@ -264,16 +264,19 @@ WHERE run_id = 'foo' ORDER BY random() LIMIT $1 -query I +query error EXECUTE get_N_rand_ints_from_last_run(1); ---- -1 +DataFusion error: Internal error: PhysicalOptimizer rule 'LimitPushdown' failed. Schema mismatch. Expected original schema: Schema { fields: [Field { name: "id", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }], metadata: {} }, got new schema: Schema { fields: [Field { name: "id", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: "run_id", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }], metadata: {} }. Review Comment: I'm dealing with these 2 now -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org