Open huaxingao opened 2 weeks ago
This will make it harder to make the column reader Spark agnostic as you're adding one more point of dependency.
We need a way for users to config useLazyMaterialization
etc, and the iceberg folks don't want to parse any of the CometConf
in iceberg code. That's why I need to pass SQLConf
instead of useLazyMaterialization
etc. Also I think it's more flexible to pass SQLConf
. If we need to add more ColumnReader
related CometConf
in the future, we don't need to change this API any more.
Hmm, I think @parthchandra meant that by adding SQLConf, common
will depend on Spark. Does it conflict with the direction to make common
not Spark dependent?
Which issue does this PR close?
Closes #.
Rationale for this change
Add a Utils method
getColumnReader
which can passed inSQLConf
, so Iceberg can pass inCometConf
forColumnReader
What changes are included in this PR?
How are these changes tested?