Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data S3ParquetSource = S3ParquetSource' {
- additionalOptions :: Maybe S3DirectSourceAdditionalOptions
- compressionType :: Maybe ParquetCompressionType
- exclusions :: Maybe [Text]
- groupFiles :: Maybe Text
- groupSize :: Maybe Text
- maxBand :: Maybe Natural
- maxFilesInBand :: Maybe Natural
- outputSchemas :: Maybe [GlueSchema]
- recurse :: Maybe Bool
- name :: Text
- paths :: [Text]
- newS3ParquetSource :: Text -> S3ParquetSource
- s3ParquetSource_additionalOptions :: Lens' S3ParquetSource (Maybe S3DirectSourceAdditionalOptions)
- s3ParquetSource_compressionType :: Lens' S3ParquetSource (Maybe ParquetCompressionType)
- s3ParquetSource_exclusions :: Lens' S3ParquetSource (Maybe [Text])
- s3ParquetSource_groupFiles :: Lens' S3ParquetSource (Maybe Text)
- s3ParquetSource_groupSize :: Lens' S3ParquetSource (Maybe Text)
- s3ParquetSource_maxBand :: Lens' S3ParquetSource (Maybe Natural)
- s3ParquetSource_maxFilesInBand :: Lens' S3ParquetSource (Maybe Natural)
- s3ParquetSource_outputSchemas :: Lens' S3ParquetSource (Maybe [GlueSchema])
- s3ParquetSource_recurse :: Lens' S3ParquetSource (Maybe Bool)
- s3ParquetSource_name :: Lens' S3ParquetSource Text
- s3ParquetSource_paths :: Lens' S3ParquetSource [Text]
Documentation
data S3ParquetSource Source #
Specifies an Apache Parquet data store stored in Amazon S3.
See: newS3ParquetSource
smart constructor.
S3ParquetSource' | |
|
Instances
Create a value of S3ParquetSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:additionalOptions:S3ParquetSource'
, s3ParquetSource_additionalOptions
- Specifies additional connection options.
$sel:compressionType:S3ParquetSource'
, s3ParquetSource_compressionType
- Specifies how the data is compressed. This is generally not necessary if
the data has a standard file extension. Possible values are "gzip"
and "bzip"
).
$sel:exclusions:S3ParquetSource'
, s3ParquetSource_exclusions
- A string containing a JSON list of Unix-style glob patterns to exclude.
For example, "[\"**.pdf\"]" excludes all PDF files.
$sel:groupFiles:S3ParquetSource'
, s3ParquetSource_groupFiles
- Grouping files is turned on by default when the input contains more than
50,000 files. To turn on grouping with fewer than 50,000 files, set this
parameter to "inPartition". To disable grouping when there are more
than 50,000 files, set this parameter to "none"
.
$sel:groupSize:S3ParquetSource'
, s3ParquetSource_groupSize
- The target group size in bytes. The default is computed based on the
input data size and the size of your cluster. When there are fewer than
50,000 input files, "groupFiles"
must be set to "inPartition"
for this to take effect.
$sel:maxBand:S3ParquetSource'
, s3ParquetSource_maxBand
- This option controls the duration in milliseconds after which the s3
listing is likely to be consistent. Files with modification timestamps
falling within the last maxBand milliseconds are tracked specially when
using JobBookmarks to account for Amazon S3 eventual consistency. Most
users don't need to set this option. The default is 900000
milliseconds, or 15 minutes.
$sel:maxFilesInBand:S3ParquetSource'
, s3ParquetSource_maxFilesInBand
- This option specifies the maximum number of files to save from the last
maxBand seconds. If this number is exceeded, extra files are skipped and
only processed in the next job run.
$sel:outputSchemas:S3ParquetSource'
, s3ParquetSource_outputSchemas
- Specifies the data schema for the S3 Parquet source.
$sel:recurse:S3ParquetSource'
, s3ParquetSource_recurse
- If set to true, recursively reads files in all subdirectories under the
specified paths.
$sel:name:S3ParquetSource'
, s3ParquetSource_name
- The name of the data store.
$sel:paths:S3ParquetSource'
, s3ParquetSource_paths
- A list of the Amazon S3 paths to read from.
s3ParquetSource_additionalOptions :: Lens' S3ParquetSource (Maybe S3DirectSourceAdditionalOptions) Source #
Specifies additional connection options.
s3ParquetSource_compressionType :: Lens' S3ParquetSource (Maybe ParquetCompressionType) Source #
Specifies how the data is compressed. This is generally not necessary if
the data has a standard file extension. Possible values are "gzip"
and "bzip"
).
s3ParquetSource_exclusions :: Lens' S3ParquetSource (Maybe [Text]) Source #
A string containing a JSON list of Unix-style glob patterns to exclude. For example, "[\"**.pdf\"]" excludes all PDF files.
s3ParquetSource_groupFiles :: Lens' S3ParquetSource (Maybe Text) Source #
Grouping files is turned on by default when the input contains more than
50,000 files. To turn on grouping with fewer than 50,000 files, set this
parameter to "inPartition". To disable grouping when there are more
than 50,000 files, set this parameter to "none"
.
s3ParquetSource_groupSize :: Lens' S3ParquetSource (Maybe Text) Source #
The target group size in bytes. The default is computed based on the
input data size and the size of your cluster. When there are fewer than
50,000 input files, "groupFiles"
must be set to "inPartition"
for this to take effect.
s3ParquetSource_maxBand :: Lens' S3ParquetSource (Maybe Natural) Source #
This option controls the duration in milliseconds after which the s3 listing is likely to be consistent. Files with modification timestamps falling within the last maxBand milliseconds are tracked specially when using JobBookmarks to account for Amazon S3 eventual consistency. Most users don't need to set this option. The default is 900000 milliseconds, or 15 minutes.
s3ParquetSource_maxFilesInBand :: Lens' S3ParquetSource (Maybe Natural) Source #
This option specifies the maximum number of files to save from the last maxBand seconds. If this number is exceeded, extra files are skipped and only processed in the next job run.
s3ParquetSource_outputSchemas :: Lens' S3ParquetSource (Maybe [GlueSchema]) Source #
Specifies the data schema for the S3 Parquet source.
s3ParquetSource_recurse :: Lens' S3ParquetSource (Maybe Bool) Source #
If set to true, recursively reads files in all subdirectories under the specified paths.
s3ParquetSource_name :: Lens' S3ParquetSource Text Source #
The name of the data store.
s3ParquetSource_paths :: Lens' S3ParquetSource [Text] Source #
A list of the Amazon S3 paths to read from.