Skip to content

Commit 6152fd6

Browse files
committed
fix type
1 parent 3b9d9c0 commit 6152fd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datafusion-examples/examples/sql_frontend.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ pub fn main() -> Result<()> {
9898
// As we can see, the Analyzer added a CAST so the types are the same
9999
// (Int64). However, this plan is not as efficient as it could be, as it
100100
// 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.
101+
// to 21 and 32. To optimize this query's performance, it is better to cast
102+
// the constants once at plan time to UInt8.
103103
//
104104
// Query optimization is handled in DataFusion by a component called the
105105
// Optimizer, which we now invoke

0 commit comments

Comments
 (0)