Skip to content

Commit

Permalink
add total rows read
Browse files Browse the repository at this point in the history
  • Loading branch information
vinoth-gojek committed Feb 7, 2025
1 parent b870cce commit 217567d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ object MaxComputeReader {
.load()

println(data)
println(data.toDF().show(3))
println(data.toDF().count())
println(data.toDF().show())
println("total rows fetched from query", sqlQuery, data.toDF().count())

// data.toDF().registerTempTable("temp_table")
// val valres = sparkSession.sql("select * from temp_table")
Expand Down

0 comments on commit 217567d

Please sign in to comment.