refactor!: Snapshot
should not expose delta implementation details
#648
Labels
Snapshot
should not expose delta implementation details
#648
Currently, the
Snapshot
struct haspub
methods to access protocol, metadata, and column_mapping_mode. These methods are Delta implementation details that are best not exposed to the user. A Snapshot user should only be interested in the version and the schema. On the other hand, consumers of kernel may need to know more things about the table such as table configuration. Thus we need a way to make these internal details public. Kernel allows this through thedeveloper-visibility
feature flag.Remove the methods
protocol
,metadata
, andcolumn_mapping
methods fromSnapshot
. Change all callers so that they usetable_configuration()
instead.The text was updated successfully, but these errors were encountered: