You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--gcs.service-account-key string The base64 encoded service account key of GCS.
47
47
--gcs.uri string The GCS URI in gs://<bucket>/<path> format. Required when target type is GCS.
48
48
-h, --help help for create
49
+
--oss.access-key-id string The access key ID of the OSS.
50
+
--oss.access-key-secret string The access key secret of the OSS.
51
+
--oss.uri string The OSS URI in oss://<bucket>/<path> format. Required when target type is OSS.
49
52
--parquet.compression string The parquet compression algorithm. One of ["GZIP" "SNAPPY" "ZSTD" "NONE"]. (default "ZSTD")
50
53
--s3.access-key-id string The access key ID of the S3. You only need to set one of the s3.role-arn and [s3.access-key-id, s3.secret-access-key].
51
54
--s3.role-arn string The role arn of the S3. You only need to set one of the s3.role-arn and [s3.access-key-id, s3.secret-access-key].
52
55
--s3.secret-access-key string The secret access key of the S3. You only need to set one of the s3.role-arn and [s3.access-key-id, s3.secret-access-key].
53
56
--s3.uri string The S3 URI in s3://<bucket>/<path> format. Required when target type is S3.
54
57
--sql string Filter the exported data with SQL SELECT statement.
55
-
--target-type string The export target. One of ["LOCAL" "S3" "GCS" "AZURE_BLOB"]. (default "LOCAL")
58
+
--target-type string The export target. One of ["LOCAL" "S3" "GCS" "AZURE_BLOB" "OSS"]. (default "LOCAL")
56
59
--where string Filter the exported table(s) with the where condition.
createCmd.Flags().String(flag.GCSServiceAccountKey, "", "The base64 encoded service account key of GCS.")
670
725
createCmd.Flags().String(flag.AzureBlobURI, "", "The Azure Blob URI in azure://<account>.blob.core.windows.net/<container>/<path> format. Required when target type is AZURE_BLOB.")
671
726
createCmd.Flags().String(flag.AzureBlobSASToken, "", "The SAS token of Azure Blob.")
727
+
createCmd.Flags().String(flag.OSSURI, "", "The OSS URI in oss://<bucket>/<path> format. Required when target type is OSS.")
728
+
createCmd.Flags().String(flag.OSSAccessKeyID, "", "The access key ID of the OSS.")
729
+
createCmd.Flags().String(flag.OSSAccessKeySecret, "", "The access key secret of the OSS.")
672
730
createCmd.Flags().String(flag.ParquetCompression, "ZSTD", fmt.Sprintf("The parquet compression algorithm. One of %q.", export.AllowedExportParquetCompressionTypeEnumEnumValues))
673
731
createCmd.Flags().String(flag.DisplayName, "", "The display name of the export. (default \"SNAPSHOT_<snapshot_time>\")")
@@ -43,6 +43,9 @@ var inputDescription = map[string]string{
43
43
flag.CSVNullValue: "Input the CSV null value: representation of null values in CSV files, skip to use default value (\\N). If you want to set empty string, please use non-interactive mode",
44
44
flag.CSVSkipHeader: "Input the CSV skip header: export CSV files of the tables without header. Type `true` to skip header, others will not skip header",
45
45
flag.DisplayName: "Input the name of export. You can skip and use the default name SNAPSHOT_<snapshot_time> by pressing Enter",
46
+
flag.OSSURI: "Input your OSS URI in oss://<bucket>/<path> format",
47
+
flag.OSSAccessKeyID: "Input your OSS access key id",
48
+
flag.OSSAccessKeySecret: "Input your OSS access key secret",
0 commit comments