title: how to load load multiple files into table in hive?
body: <p>There is a directory which contains multiple files yet to be analyzed, for example, file1, file2, file3.   </p>
  
  <p>I want to </p>
  
  <blockquote>
    <p><code>load data inpath 'path/to/*' overwrite into table demo</code></p>
  </blockquote>
  
  <p>instead of  </p>
  
  <blockquote>
    <p><code>load data inpath 'path/to/file1' overwrite into table demo</code><br>
    <code>load data inpath 'path/to/file2' overwrite into table demo</code><br>
    <code>load data inpath 'path/to/file3' overwrite into table demo</code>.</p>
  </blockquote>
  
  <p>However, it just doesn't work. Are there any easier ways to implement this?</p>