title: Spark DataFrame is Untyped vs DataFrame has schema?
body: <p>I am beginner to Spark, while reading about Dataframe, I have found below two statements for dataframe very often-</p>
  
  <p>1) DataFrame is untyped
  2) DataFrame has schema (Like database table which has all information related to table attribute - name, type, not null)</p>
  
  <p>aren't both statements are contradicting ? First we are saying Dataframe is un typed and at the same time we are also saying Dataframe has information about all columns i.e. schema , please help me what i am missing here ? because if dataframe has schema then it is also knowing about type of the columns so how it become un typed ?</p>