Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to take record count when writing as ORC file.

avatar
Contributor

Hi All,

i have a scenario like follows, need to split and save my data frame in to multiple partitions based on date and when writing i need to take recorrd count.

is there any option to take record count when writing Dataframe pls comment.

2 REPLIES 2

avatar
@Manikandan Jeyabal

Does dataframe.count() your requirement? This can be called before writing the dataframe.

avatar
Contributor

Hi @Sandeep Nemuri,

I think i found the answer from Stackoverflow site. Tanx for you info.