Databricks Machine Learning Professional Exam - Topic 9 Question 49 Discussion
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 option best code blocks accomplishes this task?
D) spark.read.table(path).drop(''star_rating'')
E) spark.sql(''SELECT * EXCEPT star_rating FROM path'')
C) Delta tables cannot be modified
B) spark.read.format(''delta'').table(path).drop(''star_rating'')
A) spark.read.format(''delta'').load(path).drop(''star_rating'')
Hester
2 hours agoEdelmira
5 days agoJame
10 days agoTy
16 days agoArthur
2 months agoKirby
2 months agoKiera
2 months agoIsaac
3 months agoMatt
3 months agoJames
3 months agoBettina
3 months agoTerrilyn
3 months agoAnnice
3 months agoLavonna
4 months agoAnisha
4 months agoBelen
4 months agoSerina
5 months agoYong
5 months agoChaya
5 months agoCurt
5 months agoSusy
5 months agoLasandra
6 months agoJani
6 months ago