reading .prquet file

arkiboys 9,646 Reputation points
2021-09-17T11:08:02.443+00:00

I have a .csv file in the blobstorage container.
When I right click on th efile in the blobstorage, I get the script to read top 100 rows.
When I execute the query, I get the data but the first row shows as C1, C2, C3, etc. as the heading
and the second row shows the column names of the csv and the following rows show the data...
Do you know how to remove the C1, C2, C3 in the display?
Thank you

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,650 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 37,971 Reputation points Microsoft Employee
    2021-09-20T09:44:54.56+00:00

    Hi @arkiboys ,

    Thank you for posting query on Microsoft Q&A Platform.

    You can use HEADER_ROW = TRUE parameter inside OPENROWSET() to make your first row from file as Header.

    Please check below image for better idea

    133467-image.png

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments

0 additional answers

Sort by: Most helpful