|
11 | 11 | * See the License for the specific language governing permissions and |
12 | 12 | * limitations under the License. |
13 | 13 | */ |
14 | | -package com.facebook.presto.iceberg; |
| 14 | +package com.facebook.presto.iceberg.procedure; |
15 | 15 |
|
16 | 16 | import com.facebook.presto.Session; |
17 | 17 | import com.facebook.presto.hive.HdfsConfiguration; |
|
25 | 25 | import com.facebook.presto.hive.metastore.ExtendedHiveMetastore; |
26 | 26 | import com.facebook.presto.hive.metastore.MetastoreContext; |
27 | 27 | import com.facebook.presto.hive.metastore.file.FileHiveMetastore; |
| 28 | +import com.facebook.presto.iceberg.IcebergConfig; |
| 29 | +import com.facebook.presto.iceberg.IcebergPlugin; |
28 | 30 | import com.facebook.presto.spi.ConnectorSession; |
29 | 31 | import com.facebook.presto.spi.SchemaTableName; |
30 | 32 | import com.facebook.presto.testing.QueryRunner; |
|
45 | 47 | import static com.facebook.presto.hive.metastore.InMemoryCachingHiveMetastore.memoizeMetastore; |
46 | 48 | import static com.facebook.presto.hive.metastore.MetastoreUtil.getMetastoreHeaders; |
47 | 49 | import static com.facebook.presto.hive.metastore.MetastoreUtil.isUserDefinedTypeEncodingEnabled; |
48 | | -import static com.facebook.presto.iceberg.RegisterTableProcedure.METADATA_FOLDER_NAME; |
49 | | -import static com.facebook.presto.iceberg.RegisterTableProcedure.getFileSystem; |
50 | | -import static com.facebook.presto.iceberg.RegisterTableProcedure.parseMetadataVersionFromFileName; |
51 | | -import static com.facebook.presto.iceberg.RegisterTableProcedure.resolveLatestMetadataLocation; |
| 50 | +import static com.facebook.presto.iceberg.procedure.RegisterTableProcedure.METADATA_FOLDER_NAME; |
| 51 | +import static com.facebook.presto.iceberg.procedure.RegisterTableProcedure.getFileSystem; |
| 52 | +import static com.facebook.presto.iceberg.procedure.RegisterTableProcedure.parseMetadataVersionFromFileName; |
| 53 | +import static com.facebook.presto.iceberg.procedure.RegisterTableProcedure.resolveLatestMetadataLocation; |
52 | 54 | import static com.facebook.presto.testing.TestingSession.testSessionBuilder; |
53 | 55 | import static java.lang.String.format; |
54 | 56 | import static org.apache.iceberg.util.LocationUtil.stripTrailingSlash; |
|
0 commit comments