Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 173 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 173
Topic #: 1
[All SnowPro Core Questions]

A table needs to be loaded. The input data is in JSON format and is a concatenation of multiple JSON documents. The file size is 3 GB. A warehouse size S is being used. The following COPY INTO command was executed:
COPY INTO SAMPLE FROM @~/SAMPLE.JSON (TYPE=JSON)
The load failed with this error:
Max LOB size (16777216) exceeded, actual size of parsed column is 17894470.
How can this issue be resolved?

  • A. Compress the file and load the compressed file.
  • B. Split the file into multiple files in the recommended size range (100 MB - 250 MB).
  • C. Use a larger-sized warehouse.
  • D. Set STRIP_OUTER_ARRAY=TRUE in the COPY INTO command.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
0e504b5
Highly Voted 9 months, 4 weeks ago
Selected Answer: D
D https://docs.snowflake.com/en/user-guide/semistructured-considerations#data-size-limitations Semi-structured Data Size Limitations A VARIANT can have a maximum size of up to 16 MB of uncompressed data. However, in practice, the maximum size is usually smaller due to internal overhead. The maximum size is also dependent on the object being stored. For more information, see VARIANT. In general, JSON data sets are a simple concatenation of multiple documents. The JSON output from some software is composed of a single huge array containing multiple records. There is no need to separate the documents with line breaks or commas, though both are supported. If the data exceeds 16 MB, enable the STRIP_OUTER_ARRAY file format option for the COPY INTO <table> command to remove the outer array structure and load the records into separate table rows
upvoted 5 times
...
HICH9173
Most Recent 1 month ago
it should be B split the files. https://community.snowflake.com/s/article/Max-LOB-size-exceeded#:~:text=When%20ingesting%20XML%20or%20JSON,of%20parsed%20column%20is%2017894470.
upvoted 1 times
...
sam_art
3 months, 2 weeks ago
Have you considered studying instead of guessing all the answers?
upvoted 2 times
...
NeerajaVoleti
5 months ago
Correct Answer - B The error “Max LOB size (16777216) exceeded” indicates that the size of the parsed column exceeds the maximum size allowed for a single column value in Snowflake, which is 16 MB. To resolve this issue, the file should be split into multiple smaller files that are within the recommended size range of 100 MB to 250 MB. This will ensure that each JSON document within the files is smaller than the maximum LOB size allowed. Compressing the file, using a larger-sized warehouse, or setting STRIP_OUTER_ARRAY=TRUE will not resolve the issue of the column size exceeding the maximum allowed. References: COPY INTO Error during Structured Data Load: “Max LOB size (16777216) exceeded…”
upvoted 2 times
...
pranalig
5 months ago
Correct Answer: D
upvoted 1 times
...
GRKaushal
8 months, 3 weeks ago
Selected Answer: A
Ans A ...........
upvoted 1 times
...
AnireddySaikiranReddy
8 months, 3 weeks ago
Correct Answer: D
upvoted 3 times
...
_yyukta
8 months, 3 weeks ago
Selected Answer: D
D is correct
upvoted 3 times
...
0e504b5
9 months, 4 weeks ago
Selected Answer: B
https://community.snowflake.com/s/article/Max-LOB-size-exceeded#:~:text=When%20ingesting%20XML%20or%20JSON,of%20parsed%20column%20is%2017894470. When ingesting XML or JSON documents, if the size of the compressed column data exceeds Snowflake’s limit of 16MB [1], an error may occur: Max LOB size (16777216) exceeded, actual size of parsed column is 17894470.
upvoted 1 times
...
oscarglob
11 months ago
The message also says that the column size that was read is a bit over 17MB. It's not the entire 3GB file. Wouldn't this create a problem by separating parts of the JSON that should be together?
upvoted 1 times
...
Colourseun
1 year ago
The correct answer is B. Split the file into multiple files in the recommended size range (100 MB - 250 MB). The error message indicates that the size of the JSON data exceeds the maximum LOB size of 16 MB. This can happen if the JSON data contains large nested arrays or objects.
upvoted 1 times
...
Arnab14
1 year, 6 months ago
Selected Answer: D
https://community.snowflake.com/s/article/Max-LOB-size-exceeded#:~:text=When%20ingesting%20XML%20or%20JSON,of%20parsed%20column%20is%2017894470.
upvoted 1 times
...
Raju039
1 year, 8 months ago
Selected Answer: D
D is correct.
upvoted 1 times
...
KarBiswa
1 year, 9 months ago
Selected Answer: D
Failed on maximum column size
upvoted 1 times
...
SV1122
1 year, 10 months ago
Selected Answer: D
If the data exceeds 16 MB, enable the STRIP_OUTER_ARRAY file format option for the COPY INTO <table> command to remove the outer array structure and load the records into separate table rows: https://docs.snowflake.com/en/user-guide/semistructured-considerations.html#data-size-limitations
upvoted 3 times
ajsharma22
1 year, 2 months ago
It is saying if row size exceeds this limit. here the file size exceed the limit. should not we split it and then upload.
upvoted 1 times
...
...
db1290
1 year, 11 months ago
Selected Answer: D
Correct answer is D
upvoted 3 times
...
kjdfsafc87456
2 years, 2 months ago
Selected Answer: D
yes, D is correct !If the data exceeds 16 MB, enable the STRIP_OUTER_ARRAY file format option for the COPY INTO <table> command to remove the outer array structure and load the records into separate table rows:
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...