title: Relative path in absolute URI Exception while accessing DynamoDB via Glue Data Catalogue in PySpark running on EMR
body: <p>I am executing a pyspark application on AWS EMR that is configured to use AWS Glue Data Catalog as metastore. I have a table setup in AWS Glue that points to DynamoDB table. And now in my pyspark script, I am trying to access the Glue table. I am able to do <code>show tables</code> and able to see the glue table. But when I try to query the table, I am getting below exception,</p>
  
  <p><code>pyspark.sql.utils.AnalysisException: u'java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: arn:aws:dynamodb:&lt;region&gt;:&lt;acct_id&gt;:table/DDBTABLE;'</code></p>
  
  <p>My query in pyspark script:</p>
  
  <p><code>spark.sql("select * from ddbtable").show()</code></p>
  
  <p>Couldn't find any good reference on this. I see people talking about issue with <code>spark.sql.warehouse.dir</code>. But not sure how it is related to glue data catalog. Any inputs ?</p>