title: Hive argument using Variable Substitution (-d|--define) fails with a string argument
body: <p>When I run the a hive script with the command</p>
  
  <blockquote>
    <p>hive -d arg_partition1="p1" -f test.hql</p>
  </blockquote>
  
  <p>It returns the error</p>
  
  <blockquote>
    <p>FAILED: SemanticException [Error 10004]: Line 3:36 Invalid table alias or column reference 'p1': (possible column names are: line, partition1)</p>
  </blockquote>
  
  <p>Script with name test.hql</p>
  
  <pre><code>DROP TABLE IF EXISTS test;
  CREATE EXTERNAL TABLE IF NOT EXISTS test (Line STRING)
      PARTITIONED BY (partition1 STRING);
  ALTER TABLE test ADD PARTITION (partition1="p1") LOCATION '/user/test/hive_test_data';
  SELECT * FROM test WHERE partition1=${arg_partition1};
  </code></pre>
  
  <p>If I modify the partition to be an integer then it works fine and returns the correct results.</p>
  
  <p>How do I run a Hive script with a string argument?</p>