vortechsa / refinery Goto Github PK
View Code? Open in Web Editor NEWRefinery is a tool to extract and transform semi-structured data from Excel spreadsheets of different layouts in a declarative way.
License: MIT License
Refinery is a tool to extract and transform semi-structured data from Excel spreadsheets of different layouts in a declarative way.
License: MIT License
Describe the bug
Unit Test had Error in StringCellParserTest.kt on Non English Environments.
because, Dec(December) is only used in English.
In Spanish: "Dic" (diciembre)
In French: "Déc" (décembre)
In German: "Dez" (Dezember)
In Italian: "Dic" (dicembre)
In Korean: "12"
> Task :test
StringCellParserTest > should try to parse to string or return null if failed to do that() FAILED
org.opentest4j.AssertionFailedError at StringCellParserTest.kt:30
StringCellParserTest > should parse to string() FAILED
org.opentest4j.AssertionFailedError at StringCellParserTest.kt:18
67 tests completed, 2 failed
> Task :test FAILED
FAILURE: Build failed with an exception.
Expected behaviour
Unit Test was Passed.
Actual behaviour
Unit Test was Failure.
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
Currently, it is not possible to ignore some columns that are not valuable or should not be extracted.
Aparently, in some files we have garbage columns that are defined, but never fulfilled
Describe the solution you'd like
Add ability to ignore such columns with some pattern
Describe alternatives you've considered
Currently, it is required to describe all the columns, otherwise, the exception will be thrown
Additional context
It should be possible to reuse the current columns matching mechanism (i.e. reuse AbstractHeaderCell
and it's subclasses)
Is your feature request related to a problem? Please describe.
Complex metadata structure parser
Describe the solution you'd like
A solution that parses when complex metadata in horizontal and vertical directions coexists
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
Parsing data horizontally direction
Describe the solution you'd like
Parsing data horizontally direction
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Currently, there is an assumption that the header cell is containing only string cell values
However, we might have the numeric values and formulas there as well (highly unlikely, though)
In some cases we have the situations when the rows are prefilled with some prefilled values like
None
NaN
-
etc
That means that these rows does not contain any useful information
Currently, if we want to skip this row the exception needs to be thrown. That means the exception manager will be polluted with tons of parsing exceptions. However, that is not an exception — it's an expected situation and should be handled appropriately.
Add the open
function into RowParser
that enables to skip the rows under some condition (e.g. column has None
value)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.