Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Bolo.

Table of Contents

Search

  1. Introducing Mass Ingestion
  2. Getting Started with Mass Ingestion
  3. Connectors and Connections
  4. Mass Ingestion Applications
  5. Mass Ingestion Databases
  6. Mass Ingestion Files
  7. Mass Ingestion Streaming
  8. Monitoring Mass Ingestion Jobs
  9. Asset Management
  10. Troubleshooting

Mass Ingestion

Mass Ingestion

Rules and guidelines for loading JSON files

Rules and guidelines for loading JSON files

Consider the following rule and guideline when you load files of the JSON format to Snowflake Data Cloud.
When you load files of the JSON format to Snowflake Data Cloud, the target table must have only one column of variant type.
To load files of JSON format to columnar format, consider the following tasks:
For example, see the following data view in a table with variant column:
To update the table to columnar format, run the following SQL query from the
Post-processing Commands
field in the mapping task:
INSERT INTO PERSONS_JSON SELECT parse_json($1):email, parse_json($1):first_name, parse_json($1):gender, parse_json($1):id, parse_json($1):ip_address, parse_json($1):last_name from PERSONS_JSON_VARIANT
After you run the mapping task, the Secure Agent copies the data in columnar format to Snowflake:

0 COMMENTS

We’d like to hear from you!