File tree Expand file tree Collapse file tree 1 file changed +17
-19
lines changed
datafusion/physical-expr/src Expand file tree Collapse file tree 1 file changed +17
-19
lines changed Original file line number Diff line number Diff line change @@ -283,25 +283,23 @@ pub fn create_physical_expr(
283283 input_dfschema,
284284 execution_props,
285285 ) ?) ,
286- Expr :: GetIndexedField ( GetIndexedField { expr : _, field } ) => {
287- match field {
288- GetFieldAccess :: NamedStructField { name : _ } => {
289- unreachable ! (
290- "NamedStructField should be rewritten in OperatorToFunction"
291- )
292- }
293- GetFieldAccess :: ListIndex { key : _ } => {
294- unreachable ! ( "ListIndex should be rewritten in OperatorToFunction" )
295- }
296- GetFieldAccess :: ListRange {
297- start : _,
298- stop : _,
299- stride : _,
300- } => {
301- unreachable ! ( "ListRange should be rewritten in OperatorToFunction" )
302- }
303- } ;
304- }
286+ Expr :: GetIndexedField ( GetIndexedField { expr : _, field } ) => match field {
287+ GetFieldAccess :: NamedStructField { name : _ } => {
288+ internal_err ! (
289+ "NamedStructField should be rewritten in OperatorToFunction"
290+ )
291+ }
292+ GetFieldAccess :: ListIndex { key : _ } => {
293+ internal_err ! ( "ListIndex should be rewritten in OperatorToFunction" )
294+ }
295+ GetFieldAccess :: ListRange {
296+ start : _,
297+ stop : _,
298+ stride : _,
299+ } => {
300+ internal_err ! ( "ListRange should be rewritten in OperatorToFunction" )
301+ }
302+ } ,
305303
306304 Expr :: ScalarFunction ( ScalarFunction { func_def, args } ) => {
307305 let physical_args =
You can’t perform that action at this time.
0 commit comments