Skip to main content

Constants for the fields of the /show/datasource response.

Option fields

additional_info

Constants for additional_info.

pub const HDFS_KERBEROS_KEYTAB: &str = “hdfs_kerberos_keytab”;

Kerberos key for the given HDFS user.

pub const LOCATION: &str = “location”;

Location of the remote storage in ‘storage_provider_type://[storage_path[:storage_port]]’ format.

pub const S3_BUCKET_NAME: &str = “s3_bucket_name”;

Name of the Amazon S3 bucket used as the data source.

pub const S3_REGION: &str = “s3_region”;

Name of the Amazon S3 region where the bucket is located.

pub const USER_NAME: &str = “user_name”;

Name of the remote system user.

storage_provider_types

Constants for storage_provider_types.

pub const HDFS: &str = “hdfs”;

Apache Hadoop Distributed File System.

pub const S3: &str = “s3”;

Amazon S3 bucket.