Comments (5)
Hi, commit you mentioned is not relevant to this bug.
Actually, SasFileConstants class was refactored two years ago: epam/parso@ee01e3f#diff-746ec30848c9c785bcffda73b685a39ffec656f7bb971f2a2471e50ea92ae89b
In scope of that change the DATE_FORMAT_STRINGS and other date-related constants were moved to the DateTimeConstants class.
Note that you are trying to use internal implementation of the Parso, by exposing of Parso's private methods and fields in your ParsoWrapper class.
Nobody guarantee that internal structure or implementation will be unchangeable. Just because of it is not possible to improve code or add something new without any changes.
API classes and interfaces located in the "com.epam.parso" package supposed to be stable. But internal implementation located in the "com.epam.parso.impl" can be changed at any moment.
from spark-sas7bdat.
This commit here:
epam/parso@81c6608#diff-746ec30848c9c785bcffda73b685a39ffec656f7bb971f2a2471e50ea92ae89b
Removes DATE_FORMAT_STRINGS, et al which are needed in
com.github.saurfang.sas.parso.ParsoWrapper$.DATE_FORMAT_STRINGS$lzycompute(ParsoWrapper.scala:37) at com.github.saurfang.sas.parso.ParsoWrapper$.DATE_FORMAT_STRINGS(ParsoWrapper.scala:36)
@warrenmsmith - i am getting the same error when i try to run saurfang-3.0.0 with parso-2.0.14. it will be great if you can share the workaround of this issue.
from spark-sas7bdat.
For future generations, the changes in parso-2.0.12 where SasFileConstants.java was adjusted and the reference for DATE_FORMAT_STRINGS has been removed. As a workaround, you can use parso-2.0.11 which works.
from spark-sas7bdat.
I am also facing the same issue. Any workaround available for this issue or share the download link for the parso-2.0.11
from spark-sas7bdat.
I'm also dealing with this issue - getting the error java.lang.NoSuchFieldException: DATE_FORMAT_STRINGS. When I install the 2.0.11 jar from Maven, everything works like a charm but 2.0.11 has a vulnerability that we wouldn't feel comfortable using in a production environment. Can we work to address this dependency issue? Thanks!!!
from spark-sas7bdat.
Related Issues (20)
- Decompression of sas7bdat.bz2 file is not distributed across worker nodes HOT 1
- Enhancement: Write to .sas7bdat files from Spark Dataframes HOT 2
- Spark 3 / Scala 2.12 compatibility HOT 24
- spark-sas7bdat wins WiseWithData ELEVATE Award HOT 1
- undoumented changes in NEWS.md HOT 3
- Issue : The tab space after the string is removed after reading in by the jar HOT 3
- Bintray Returning 403 Forbidden Request for Entire Spark Packages HOT 4
- UNRESOLVED DEPENDENCIES HOT 1
- Unable to read properly grouped columns with Delimiter
- java.lang.BootstrapMethodError
- All numeric columns getting converted to Double HOT 2
- Unable to read sas7bdat file in pyspark HOT 2
- Unable to read sas file without using Mounts
- Can we read SAS files with .spds9 file extension HOT 1
- Can't load directory with sas7bdat files HOT 2
- Parso Version Update
- InvalidInputException
- Don't find the latest JAR as per latest upgrade for parse 2.0.14 HOT 3
- Wrong number of arguments
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-sas7bdat.