title: How to handle duplicate column(s) in table definition
body: <p>Given a dataframe with following schema . The problem is that the dataframe is dynamic and so is its field . So you can pre assume a given schema.</p>
  <pre><code>root
   |-- a: string (nullable = true)
   |-- b: string (nullable = true)
   |-- c: string (nullable = true)
   |-- a: string (nullable = true)
   |-- b: long (nullable = true)
   |-- c: long (nullable = true)
   |-- d: long (nullable = true)
   |-- a: long (nullable = true)
  </code></pre>
  <p>The following error is shown :-</p>
  <pre><code>Found duplicate column(s) in table definition
  </code></pre>
  <p>how should we rename the column name to remove ambiguity</p>