Read Parquet File | teradatamlspk | pyspark2teradataml - Read Parquet File - Teradata Package for Python

Teradata® pyspark2teradataml User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
December 2024
ft:locale
en-US
ft:lastEdition
2024-12-18
dita:mapPath
oeg1710443196055.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
oeg1710443196055
Product Category
Teradata Vantage

When reading Parquet file in teradatamlspk, the file must be in cloud storage or local platform.

PySpark

spark.read.parquet(path = "parquet_path").show()

teradatamlspk

spark.read.options(authorization = {"Access_ID": id, "Access_Key": key}).parquet(path = "/connector/bucket.endpoint/[key_prefix]").show()

using format

spark.read.options(authorization = {"Access_ID": id, "Access_Key": key}).format("parquet").load(path = "/connector/bucket.endpoint/[key_prefix]").show()