Code Monkey home page Code Monkey logo

autopivot's People

Contributors

chamb avatar champialex avatar dependabot[bot] avatar fabiencelier avatar gbactiveviam avatar joiivier avatar tjj225 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autopivot's Issues

reading quoted text bug

the line

FOO,BAR,"FOO,BAR,",TEST

should split as FOO <> BAR <> FOOBAR <> TEST.

Instead, it splits as
[FOO,BAR,"FOO,BAR,",TEST, null, null]

I think there is an error in the logic around double quotes that appear after a comma. when you do the following, it will think you are still within quotes if the character before the ending quote was a comma:

			if(c == 0 || sep == text.charAt(c-1)) {
				// Beginning of a new field, delimited by quotes
				withinQuotes = true;
			}
			// or else is it the end of a field?
			else if((c == text.length()-1) || (sep == text.charAt(c+1))) {
				if(!withinQuotes) {
					LOGGER.warning("Unexpected double quote character at the end of a field: " + text);
				}
				withinQuotes = false;
			}

This is incorrect however, as it is actually ending the withinQuotes

cannot build mvn clean install

I use mvn clean install

but it bug

[ERROR] Failed to execute goal on project autopivot: Could not resolve dependencies for project com.activeviam.sandbox:autopivot:jar:2.0.0-SNAPSHOT: The following artifacts could not be resolved: com.activeviam.activepivot:activepivot-server-spring:jar:5.8.3-jdk8, com.activeviam.activepivot:activepivot-test:jar:5.8.3-jdk8, com.activeviam.activeui:activeui:jar:4.2.11: Could not find artifact com.activeviam.activepivot:activepivot-server-spring:jar:5.8.3-jdk8 in central (https://repo.maven.apache.org/maven2) -> [Help 1]

BOM markers in csv files

It looks like the discoverFile doesn't handle BOM markers that come from windows, so you get things like the first column name will be "Book" instead of "Book".

you could do something like this at the start:
lines.get(0).replace("","")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.