title: Unable to fetch table hive_table
body: <p>I have created an external hive table in python code using spark, but I have problem when I want to view table using hive shell. </p>
  
  <p>None of these requests works: </p>
  
  <pre><code>describe hive_table, SELECT, Alter......
  
  *hive&gt; describe hive_table;
  </code></pre>
  
  <blockquote>
    <p>**FAILED: SemanticException Unable to fetch table hive_table. java.io.IOException: No FileSystem for scheme: null*</p>
  </blockquote>
  
  <p><strong>Creation of external hive table:</strong></p>
  
  <pre><code>(df.write.partitionBy(config['col_part'])
                 .mode('overwrite')
                 .format(config['format_tbl_hive'])
                 .saveAsTable(hive_tbl, path=hive_tbl_dir))
  </code></pre>