Share via

databricks

arkiboys 9,711 Reputation points
2022-02-28T10:13:40.593+00:00

I am writing into a databricks notebook to be used later in ADF.
in the notebok I get this error. --> can not resolve "field3"
Do you see why?

df = spark.sql('select * from table limit 10')
df2 = (
df
.select(
"field3"
)
)
display(df)

Azure Databricks
Azure Databricks

An Apache Spark-based analytics platform optimized for Azure.

0 comments No comments

1 answer

Sort by: Most helpful
  1. arkiboys 9,711 Reputation points
    2022-02-28T10:28:45.703+00:00

    solved.
    I was using the wrong field
    Thank you

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.