title: How to query all rows of one column in DynamoDB?
body: <p>I just work with AWS DynamoDB in a short of time. I am wondering how can I get the same result with this statement (without WHERE clause):</p>
  
  <p><code>SELECT column1 FROM DynamoTable;</code></p>
  
  <p>I tried (but failed) with:</p>
  
  <pre><code> import boto3
   dynamodb = boto3.resource('dynamodb')
   table = dynamodb.Table('DynamoTable')
   from boto3.dynamodb.conditions import Key, Attr
   resp = table.query(KeyConditionExpression=Key('column1'))
  </code></pre>
  
  <p>It requires <code>Key().eq()</code> or <code>Key().begin_with()</code> ...</p>
  
  <p>I tried with <code>resp = table.scan()</code> already, but the response data is too many fields while I only need <code>column1</code></p>
  
  <p>Thanks.</p>