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
--azblob.uri string The Azure Blob URI in azure://<account>.blob.core.windows.net/<container>/<path> format. Required when target type is AZURE_BLOB.
36
36
-c, --cluster-id string The ID of the cluster, in which the export will be created.
37
37
--compression string The compression algorithm of the export file. One of ["GZIP" "SNAPPY" "ZSTD" "NONE"].
38
-
--csv.delimiter string Delimiter of string type variables in CSV files. (default "\"")
39
-
--csv.null-value string Representation of null values in CSV files. (default "\\N")
38
+
--csv.delimiter string Delimiter of string type variables in CSV files. (default """)
39
+
--csv.null-value string Representation of null values in CSV files. (default "\N")
40
40
--csv.separator string Separator of each value in CSV files. (default ",")
41
41
--csv.skip-header Export CSV files of the tables without header.
42
-
--display-name string The display name of the export. (default: SNAPSHOT_<snapshot_time>)
42
+
--display-name string The display name of the export. (default "SNAPSHOT_<snapshot_time>")
43
43
--file-type string The export file type. One of ["SQL" "CSV" "PARQUET"]. (default "CSV")
44
44
--filter strings Specify the exported table(s) with table filter patterns. See https://docs.pingcap.com/tidb/stable/table-filter to learn table filter.
45
45
--force Create without confirmation. You need to confirm when you want to export the whole cluster in non-interactive mode.
createCmd.Flags().StringP(flag.DisplayName, flag.DisplayNameShort, "", "Display name of the cluster to de created.")
306
306
createCmd.Flags().StringP(flag.Region, flag.RegionShort, "", "The name of cloud region. You can use \"ticloud serverless region\" to see all regions.")
307
-
createCmd.Flags().StringP(flag.ProjectID, flag.ProjectIDShort, "", "The ID of the project, in which the cluster will be created. (default:\"default project\")")
307
+
createCmd.Flags().StringP(flag.ProjectID, flag.ProjectIDShort, "", "The ID of the project, in which the cluster will be created. (default \"default project\")")
308
308
createCmd.Flags().Int32(flag.SpendingLimitMonthly, 0, "Maximum monthly spending limit in USD cents. (optional)")
309
309
createCmd.Flags().Bool(flag.Encryption, false, "Whether Enhanced Encryption at Rest is enabled.")
310
310
createCmd.Flags().Bool(flag.PublicEndpointDisabled, false, "Whether the public endpoint is disabled.")
startCmd.Flags().String(flag.AzureBlobURI, "", "The Azure Blob URI in azure://<account>.blob.core.windows.net/<container>/<path> format.")
256
256
startCmd.Flags().String(flag.AzureBlobSASToken, "", "The SAS token of Azure Blob.")
257
257
258
-
startCmd.Flags().String(flag.CSVDelimiter, defaultCsvDelimiter, "The delimiter used for quoting of CSV file.")
258
+
startCmd.Flags().String(flag.CSVDelimiter, "", "The delimiter used for quoting of CSV file. (default \"\"\")")
259
259
startCmd.Flags().String(flag.CSVSeparator, defaultCsvSeparator, "The field separator of CSV file.")
260
260
startCmd.Flags().Bool(flag.CSVTrimLastSeparator, defaultCsvTrimLastSeparator, "Specifies whether to treat separator as the line terminator and trim all trailing separators in the CSV file.")
261
261
startCmd.Flags().Bool(flag.CSVBackslashEscape, defaultCsvBackslashEscape, "Specifies whether to interpret backslash escapes inside fields in the CSV file.")
262
262
startCmd.Flags().Bool(flag.CSVNotNull, defaultCsvNotNull, "Specifies whether a CSV file can contain any NULL values.")
263
-
startCmd.Flags().String(flag.CSVNullValue, defaultCsvNullValue, "The representation of NULL values in the CSV file.")
263
+
startCmd.Flags().String(flag.CSVNullValue, "", "The representation of NULL values in the CSV file. (default \"\\N\")")
264
264
startCmd.Flags().Bool(flag.CSVSkipHeader, defaultCsvSkipHeader, "Specifies whether the CSV file contains a header line.")
createCmd.Flags().String(flag.TableWhere, "", "Filter the exported table(s) with the where condition.")
655
661
createCmd.Flags().String(flag.SQL, "", "Filter the exported data with SQL SELECT statement.")
656
662
createCmd.Flags().BoolVar(&force, flag.Force, false, "Create without confirmation. You need to confirm when you want to export the whole cluster in non-interactive mode.")
657
-
createCmd.Flags().String(flag.CSVDelimiter, CSVDelimiterDefaultValue, "Delimiter of string type variables in CSV files.")
663
+
createCmd.Flags().String(flag.CSVDelimiter, "", "Delimiter of string type variables in CSV files. (default \"\"\")")
658
664
createCmd.Flags().String(flag.CSVSeparator, CSVSeparatorDefaultValue, "Separator of each value in CSV files.")
659
-
createCmd.Flags().String(flag.CSVNullValue, CSVNullValueDefaultValue, "Representation of null values in CSV files.")
665
+
createCmd.Flags().String(flag.CSVNullValue, "", "Representation of null values in CSV files. (default \"\\N\")")
660
666
createCmd.Flags().Bool(flag.CSVSkipHeader, CSVSkipHeaderDefaultValue, "Export CSV files of the tables without header.")
661
667
createCmd.Flags().String(flag.S3RoleArn, "", "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].")
662
668
createCmd.Flags().String(flag.GCSURI, "", "The GCS URI in gs://<bucket>/<path> format. Required when target type is GCS.")
663
669
createCmd.Flags().String(flag.GCSServiceAccountKey, "", "The base64 encoded service account key of GCS.")
664
670
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.")
665
671
createCmd.Flags().String(flag.AzureBlobSASToken, "", "The SAS token of Azure Blob.")
666
672
createCmd.Flags().String(flag.ParquetCompression, "ZSTD", fmt.Sprintf("The parquet compression algorithm. One of %q.", export.AllowedExportParquetCompressionTypeEnumEnumValues))
667
-
createCmd.Flags().String(flag.DisplayName, "", "The display name of the export. (default: SNAPSHOT_<snapshot_time>)")
673
+
createCmd.Flags().String(flag.DisplayName, "", "The display name of the export. (default\"SNAPSHOT_<snapshot_time>\")")
0 commit comments