question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

null cells shift columns when `maxRowsInMemory` enabled

See original GitHub issue

When I specify .option("maxRowsInMemory", 100) then the empty cells are “skipped”, for example:

A B C
value b0 c0
null b1 c1

without maxRowsInMemory second row would be read as null | b1 | c1. But when I specify the option I get null | c1 | null.

Even when I just save the file again on mac the problem goes away, and I can’t upload the original file.

I tried to set on/off treatEmptyValuesAsNulls, and tried different maxRowsInMemory values, but the problem persists.

Environment:

  • Spark 2.2.0
  • Scala 2.11.8
  • Spark-Excel 0.11.0
  • environment: local[*]
  • os macOS Sierra 10.12.6

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
PanAeoncommented, Mar 28, 2019

No, I had to build my own version to overcome this problem. I think sbt can build a dependency from github, so we don’t have to wait for the release, but it sounds like too much hassle for me.

On Thu, 28 Mar 2019, 12:09 paulpaul1076, notifications@github.com wrote:

@PanAeon https://github.com/PanAeon do you know when they will release it though? We are using this library in production and it’s frustrating that this doesn’t work.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/crealytics/spark-excel/issues/104#issuecomment-477568690, or mute the thread https://github.com/notifications/unsubscribe-auth/AAp3_LT0BZsQQi9h7dM_yToagGRjg7CTks5vbLESgaJpZM4Z7zCv .

0reactions
ajaydubey777commented, Mar 27, 2020

Hi @PanAeon, I am getting error while using crealytics to read excel file of size 30 MB, were you abel to fix that issue and give some pointer

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shift data left to null cell - Microsoft Power BI Community
In Power Query;. Highlight all columns that you want the data shifted left. Select 'Merge Columns'. Use equals sign as the separator (don't ......
Read more >
How to delete blank cells and move data left in Excel?
Delete blank cells and move left · 1. Select the data range, press Ctrl + G to enable Go To dialog, and click...
Read more >
Shift cells up if blank in Excel - AuditExcel
How to shift cells up if blank in Excel. Useful if you have worked through a spreadsheet and deleted cells.
Read more >
How to remove blank cells in Excel - Ablebits
Click the heading of the first blank column to the right of your data and press Ctrl + Shift + End. This will...
Read more >
Shift cells to right in power query - My Online Training Hub
I have 1000+rows. Is it possible to shift cells to right so that 'last name' text comes in one column and same with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found