Skip to content

Commit 0febc2f

Browse files
committed
Add ice insert --force-no-copy/--force-table-auth flags
1 parent 47e0a25 commit 0febc2f

2 files changed

Lines changed: 181 additions & 165 deletions

File tree

ice/src/main/java/com/altinity/ice/Main.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,16 @@ void insert(
133133
names = "--no-copy",
134134
description = "Add files to catalog without copying them")
135135
boolean noCopy,
136+
@CommandLine.Option(
137+
names = "--force-no-copy",
138+
description =
139+
"Add files to catalog without copying them even if files are in different location(s) from table (implies --no-copy)")
140+
boolean forceNoCopy,
141+
@CommandLine.Option(
142+
names = "--force-table-auth",
143+
description =
144+
"Use table credentials to access input files (instead of credentials from execution environment)")
145+
boolean forceTableAuth,
136146
@CommandLine.Option(
137147
names = {"--s3-no-sign-request"},
138148
description = "Access input file(s) ")
@@ -185,6 +195,8 @@ void insert(
185195
skipDuplicates,
186196
noCommit,
187197
noCopy,
198+
forceNoCopy,
199+
forceTableAuth,
188200
s3NoSignRequest,
189201
s3CopyObject,
190202
retryList);

0 commit comments

Comments
 (0)