Comments (6)
from spark-hadoopoffice-ds.
Multiple files => in this case the header should be already skipped, because it is skipped for each file. Can you confirm that this is not the case?
Multiple sheets in a single file: You can pass the HadoopOffice option "hadoopoffice.read.sheets" where you just specify one sheet / data frame. In this way you can already today skip the header for each sheet, because you load each sheet individually. However, it also implies that the file is loaded x times and x corresponds to the number of sheets in a file.
for the latter case we can include an option read.spark.useHeader.skipHeaderInEachSheet
from spark-hadoopoffice-ds.
Yes, for multiple files headers are not skipped...
I will make sure and let you read.spark.useHeader.skipHeaderInEachSheet is working fine or not. :) thnks
from spark-hadoopoffice-ds.
ok, i look a little bit into it. It is feasible, but I have to give a little bit thought to make this feature more general. The reason is that we soon also will release this library for Hive, Flink DataSource/DataSink and Flink TableSource/TableSink API.
from spark-hadoopoffice-ds.
released in 1.1.0
check readme.md, please confirm
from spark-hadoopoffice-ds.
please create a new issue if it does not meet your use case
from spark-hadoopoffice-ds.
Related Issues (20)
- java.lang.NoSuchMethodError while using spark-hadoopoffice-ds_2.11 (v1.2.4) HOT 7
- Doesn't generate excel file as expected but no obvious error HOT 3
- Cell with Integer value has an = sign HOT 24
- Spark Datasource does not pick up options for writing correctly HOT 2
- Job abortion on databricks HOT 2
- IndexOutOfBoundsException: When reading xlsx file. HOT 8
- How do i get a schema that's all String with "read.spark.simpleMode" HOT 2
- Add support for partitioning by folders in Hive/Spark Style HOT 19
- Writing to XLSX only outputs String fields but XLS works fine HOT 11
- workbookDocument .getWorkbook().getWorkbookPr() can return null HOT 8
- Support for Scala 2.13 and drop support for Scala 2.11 HOT 1
- Support Spark 3.1 HOT 8
- lowFootprint: numeric column values result in nulls HOT 7
- Nullpointer Exception when using Spark with Kyroserializer HOT 2
- "hadoopoffice.write.header.write" is only working for default sheet HOT 6
- Spill over to next sheet if number of rows exceeding Excel limitations
- Skipped imported decimal values HOT 11
- Not all HadoopOffice configuration is applied correctly
- CVE-2021-44228: Mitigate Log4shell HOT 2
- inferSchema for Excelfiles with one row is not working correctly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spark-hadoopoffice-ds.