We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b9d9c0 commit 6152fd6Copy full SHA for 6152fd6
datafusion-examples/examples/sql_frontend.rs
@@ -98,8 +98,8 @@ pub fn main() -> Result<()> {
98
// As we can see, the Analyzer added a CAST so the types are the same
99
// (Int64). However, this plan is not as efficient as it could be, as it
100
// will require casting *each row* of the input to UInt64 before comparison
101
- // to 21 and 32. To optimize this query's performance, it is better to cast
102
- // the constants once at plan time to Int32.
+ // to 21 and 32. To optimize this query's performance, it is better to cast
+ // the constants once at plan time to UInt8.
103
//
104
// Query optimization is handled in DataFusion by a component called the
105
// Optimizer, which we now invoke
0 commit comments