delta-io / delta-sharing

An open protocol for secure data sharing
https://delta.io/sharing
Apache License 2.0
719 stars 154 forks source link

DTS-3385: migrate getTableVersion to use delta-kernel #495

Closed pranavsuku-db closed 3 weeks ago

pranavsuku-db commented 3 weeks ago

getTableVersion now uses the DeltaSharedTableKernel implementation. In this PR, delta-kernel is imported into OSS and DeltaSharedTableKernel and the original DeltaSharedTable inherit from a trait DeltaSharedTableProtocol. This protocol trait is what is returned by the table loader. The table loader will return a standalone DeltaSharedTable unless a parameter is specified to return the kernel implementation. This parameter is only turned on for getTableVersion.