Titan Core
  • Overview
  • Getting Started
  • Working With Resources
  • Blueprint
  • GitHub Action
  • Resources
    • APIAuthenticationSecurityIntegration
    • APIIntegration
    • AccountParameter
    • AggregationPolicy
    • Alert
    • AuthenticationPolicy
    • AzureStorageIntegration
    • ComputePool
    • Database
    • DatabaseRole
    • DynamicTable
    • EmailNotificationIntegration
    • EventTable
    • ExternalAccessIntegration
    • ExternalStage
    • FailoverGroup
    • FutureGrant
    • GCSStorageIntegration
    • GenericSecret
    • GlueCatalogIntegration
    • Grant
    • GrantOnAll
    • HybridTable
    • ImageRepository
    • InternalStage
    • JSONFileFormat
    • JavascriptUDF
    • MaterializedView
    • NetworkPolicy
    • NetworkRule
    • OAuthSecret
    • ObjectStoreCatalogIntegration
    • PackagesPolicy
    • ParquetFileFormat
    • PasswordPolicy
    • PasswordSecret
    • Pipe
    • PythonStoredProcedure
    • PythonUDF
    • ReplicationGroup
    • ResourceMonitor
    • Role
    • RoleGrant
    • S3StorageIntegration
    • Schema
    • Sequence
    • Service
    • SessionPolicy
    • Share
    • SnowflakePartnerOAuthSecurityIntegration
    • SnowservicesOAuthSecurityIntegration
    • StageStream
    • Table
    • TableStream
    • Tag
    • Task
    • User
    • View
    • ViewStream
    • Warehouse
Powered by GitBook
On this page
  • Examples
  • Python
  • YAML
  • Fields
  1. Resources

ParquetFileFormat

PreviousPackagesPolicyNextPasswordPolicy

Last updated 10 months ago

A Parquet file format in Snowflake.

Examples

Python

file_format = ParquetFileFormat(
    name="some_file_format",
    owner="SYSADMIN",
    compression="AUTO",
    binary_as_text=True,
    trim_space=False,
    replace_invalid_characters=False,
    null_if=["NULL"],
    comment="This is a Parquet file format."
)

YAML

file_formats:
  - name: some_file_format
    owner: SYSADMIN
    compression: AUTO
    binary_as_text: true
    trim_space: false
    replace_invalid_characters: false
    null_if:
      - NULL
    comment: This is a Parquet file format.

Fields

  • name (string, required) - The name of the file format.

  • compression (string) - The compression type for the file format. Defaults to "AUTO".

  • binary_as_text (bool) - Whether to interpret binary data as text. Defaults to True.

  • trim_space (bool) - Whether to trim spaces. Defaults to False.

  • replace_invalid_characters (bool) - Whether to replace invalid characters. Defaults to False.

  • null_if (list) - A list of strings to be interpreted as NULL.

  • comment (string) - A comment for the file format.

owner (string or ) - The owner role of the file format. Defaults to "SYSADMIN".

Snowflake Documentation
Role