ExamGecko
Question list
Search
Search

List of questions

Search

Question 33 - ARA-C01 discussion

Report
Export

Which columns can be included in an external table schema? (Select THREE).

A.
VALUE
Answers
A.
VALUE
B.
METADATASROW_ID
Answers
B.
METADATASROW_ID
C.
METADATASISUPDATE
Answers
C.
METADATASISUPDATE
D.
METADAT A$ FILENAME
Answers
D.
METADAT A$ FILENAME
E.
METADATAS FILE_ROW_NUMBER
Answers
E.
METADATAS FILE_ROW_NUMBER
F.
METADATASEXTERNAL TABLE PARTITION
Answers
F.
METADATASEXTERNAL TABLE PARTITION
Suggested answer: A, D, E

Explanation:

An external table schema defines the columns and data types of the data stored in an external stage. All external tables include the following columns by default:

VALUE: A VARIANT type column that represents a single row in the external file.

METADATA$FILENAME: A pseudocolumn that identifies the name of each staged data file included in the external table, including its path in the stage.

METADATA$FILE_ROW_NUMBER: A pseudocolumn that shows the row number for each record in a staged data file.

You can also create additional virtual columns as expressions using the VALUE column and/or the pseudocolumns. However, the following columns are not valid for external tables and cannot be included in the schema:

METADATASROW_ID: This column is only available for internal tables and shows the unique identifier for each row in the table.

METADATASISUPDATE: This column is only available for internal tables and shows whether the row was inserted or updated by a merge operation.

METADATASEXTERNAL TABLE PARTITION: This column is not a valid column name and does not exist in Snowflake.

asked 23/09/2024
disserto management gmbh
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first