Câu 33: Databricks Certified Machine Learning Professional
A data scientist wants to remove the star_rating column from the Delta table at the location path. To do this, they need to load in data and drop the star_rating column. Which of the following code blocks accomplishes this task?
Nội dung câu hỏi
A data scientist wants to remove the star_rating column from the Delta table at the location path. To do this, they need to load in data and drop the star_rating column. Which of the following code blocks accomplishes this task?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. spark.read.format(“delta”).load(path).drop(“star_rating”) — đáp án hiện tại
- B. spark.read.format(“delta”).table(path).drop(“star_rating”)
- C. Delta tables cannot be modified
- D. spark.read.table(path).drop(“star_rating”)
- E. spark.sql(“SELECT * EXCEPT star_rating FROM path”)
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.