jayzhan211 commented on code in PR #14617:
URL: https://github.com/apache/datafusion/pull/14617#discussion_r1951858302


##########
datafusion/common/src/scalar/logical/logical_fixed_size_list.rs:
##########
@@ -0,0 +1,75 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+use crate::error::_internal_err;
+use crate::scalar::logical::logical_list::LogicalList;
+use crate::scalar::LogicalScalar;
+use crate::types::{logical_fixed_size_list, LogicalTypeRef};
+use crate::DataFusionError;
+use bigdecimal::ToPrimitive;
+use std::fmt::{Display, Formatter};
+
+#[derive(Clone, PartialEq, Eq, Hash, Debug, PartialOrd)]
+pub struct LogicalFixedSizeList {
+    /// The inner list with a fixed size.
+    inner: LogicalList,

Review Comment:
   we might need len: i32
   
   ```rust
   impl FixedSizeListArray {
       /// Create a new [`FixedSizeListArray`] with `size` element size, 
panicking on failure
       ///
       /// # Panics
       ///
       /// Panics if [`Self::try_new`] returns an error
       pub fn new(field: FieldRef, size: i32, values: ArrayRef, nulls: 
Option<NullBuffer>) -> Self {
           Self::try_new(field, size, values, nulls).unwrap()
       }
   ```



-- 
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

Reply via email to