title: Getting exception when i try to copy data from Azure Blob to SQL Datawarehouse using DataFactory
body: <p>I have created a pipeline that uses the Copy activity to move data from Blob to SQL Datawarehouse.</p>
  
  <pre><code>Azure Blob Dataset:
  "name": "TradeData",
    "properties": {
      "type": "AzureBlob",
      "linkedServiceName": "HDInsightStorageLinkedService",
      "structure": [],
      "typeProperties": {
        "folderPath": "hdinsight/hive/warehouse/tradesummary/",
        "format": {
          "type": "OrcFormat"
        }
      },
  SQL DW Dataset:
   "name": "TradeDataRepository",
    "properties": {
      "type": "AzureSqlDWTable",
      "linkedServiceName": "AzureSQLDataWarehouseLinkedService",
      "typeProperties": {
        "tableName": "tradesummary"
      },
  
  Pipeline:
  "activities": [
        {
          "name": "CopyActivityTemplate",
          "type": "Copy",
          "inputs": [
            {
              "name": "TradeData"
            }
          ],
          "outputs": [
            {
              "name": "TradeDataRepository"
            }
          ],
          "typeProperties": {
            "source": {
              "type": "BlobSource",
              "skipHeaderLineCount": 0
            },
            "sink": {
              "type": "SqlDWSink",
              "allowPolyBase": false
          }
  </code></pre>
  
  <p>When I execute the pipeline, i get following error:</p>
  
  <blockquote>
    <p>Database operation failed.<br>
    <strong>Error message from database execution :</strong>   ErrorCode=FailedDbOperation,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Error happened when loading data into SQL Data Warehouse.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Data.SqlClient.SqlException,Message=110802;An internal DMS error occurred that caused this operation to fail. Details: Exception:   Microsoft.SqlServer.DataWarehouse.DataMovement.Common.ExternalAccess.HdfsAccessException, Message: Java exception raised on call to HdfsBridge_CreateRecordReader: Error [HdfsBridge::CreateRecordReader - Unexpected error encountered creating the record reader.] occurred while accessing external file [/hive/warehouse/tradesummary/000000_0][0].,Source=.Net SqlClient Data Provider,SqlErrorNumber=110802,Class=16,ErrorCode=-2146232060,State=1,Errors=[{Class=16,Number=110802,State=1,Message=110802;An internal DMS error occurred that caused this operation to fail. Details: Exception:   Microsoft.SqlServer.DataWarehouse.DataMovement.Common.ExternalAccess.HdfsAccessException, Message: Java exception raised on call to HdfsBridge_CreateRecordReader: Error [HdfsBridge::CreateRecordReader - Unexpected error encountered creating the record reader.] occurred while accessing external file [/hive/warehouse/tradesummary/000000_0][0].,},],'.</p>
  </blockquote>
  
  <p>Any pointers would be appreciated.</p>