To view the content of your Parquet data, use the READ_NOS table operator..
The examples and results show a sample river flow data set. To use your own data, replace the table and column names, and authorization object.
- To run NOS-related commands, log on to the database as a user with the required privileges.
- View the content of the Parquet data:
SELECT TOP 2 * FROM ( LOCATION='YOUR-OBJECT-STORE-URI' AUTHORIZATION=authorization_object ) AS d;
See Variable Substitutions for Examples for the credentials and location values for the sample river flow data set.
Your result will be similar to this:
Location /S3/s3.amazonaws.com/td-usgs-public/PARQUETDATA/09396100/2018/07/13.parquet GageHeight2 1.37000000000000E 000 Flow 5.39000000000000E 001 site_no 9396100 datetime 2018-07-13 00:00 Precipitation 0.00000000000000E 000 GageHeight 1.56000000000000E 000 Location /S3/s3.amazonaws.com/td-usgs-public/PARQUETDATA/09396100/2018/07/15.parquet GageHeight2 1.98000000000000E 000 Flow 1.60000000000000E 002 site_no 9396100 datetime 2018-07-15 00:00 Precipitation 0.00000000000000E 000 GageHeight 1.98000000000000E 000
The output is displayed vertically for readability.