QuestionQ61

VerifiedOfficial exam objectives/topics

A Data Engineer must extract the text from PDF files stored in an internal stage and load that text into Snowflake.

Which Snowflake-recommended approach meets this requirement MOST cost effectively?

Explanation

A Python UDF can read PDF files directly from a Snowflake stage and use a supported Python PDF library, such as PyPDF2, to extract their text within Snowflake. This avoids the added dependency management of an external Java JAR and the cost and data movement of a third-party processing service. Snowflake’s PDF chatbot tutorial uses this pattern to extract text from staged PDF files.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!