ajantha-bhat commented on code in PR #11904:
URL: https://github.com/apache/iceberg/pull/11904#discussion_r1925113427
##########
parquet/src/main/java/org/apache/iceberg/data/parquet/BaseParquetWriter.java:
##########
@@ -50,6 +54,32 @@ protected ParquetValueWriter<T> createWriter(MessageType
type) {
protected abstract ParquetValueWriters.StructWriter<T> createStructWriter(
List<ParquetValueWriter<?>> writers);
+ protected ParquetValueWriter<?> fixedWriter(ColumnDescriptor desc) {
+ return new FixedWriter(desc);
+ }
+
+ protected ParquetValueWriters.PrimitiveWriter<?> dateWriter(ColumnDescriptor
desc) {
Review Comment:
Existing class `LogicalTypeWriterVisitor` have declared return values as
`Optional<ParquetValueWriters.PrimitiveWriter<?>>`. So, I need to modify the
base class also to return `ParquetValueWriter<?>`.
I thought I will get a comment that why we modified base class and avoid
unnecessary refactoring!
Hence, I didn't do.
Since, you also want to handle this. I will update it.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]