I was trying to pull some table data from the ADX cluster in another tenant to Databricks workspace, but when I try to read the data, some data were missing, and row count does not match with the original table. The data size is very large, Would that be the cause of the issue? or Is there any better way for pulling ADX data to the databricks notebook instead of using the kusto-spark connector? this is the code which I have used
kustoDf = spark.read. \
format("com.microsoft.kusto.spark.datasource"). \
option("kustoCluster", kustoOptions["kustoCluster"]). \
option("kustoDatabase", kustoOptions["kustoDatabase"]). \
option("kustoQuery", kustoOptions["kustoTable"]). \
option("kustoAadAppId", kustoOptions["kustoAadAppId"]). \
option("kustoAadAppSecret", kustoOptions["kustoAadAppSecret"]). \
option("kustoAadAuthorityID", kustoOptions["kustoAadAuthorityID"]). \
load()
Am I doing something wrong? or is there something missing in the code?
Thanks in advance!



