GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add null check to accumulator to fix csv import by gramian · Pull Request #1538 · ArcadeData/arcadedb

Conversation

@gramian

@gramian gramian commented Apr 4, 2024

Copy link
Copy Markdown
Collaborator

What does this PR do?

This change adds a null check to the totalRowLength accumulator attribute of class AnalyzedEntity.

Motivation

Error caused by import of CSV files with empty values.

Related issues

#1199

Checklist

  • I have run the build using mvn clean package command
  • My unit tests cover both failure and success scenarios

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gramian
Add null check to accumulator to fix csv import
b49dcf1
@lvca lvca assigned lvca and gramian and unassigned lvca Apr 5, 2024
@lvca
lvca self-requested a review April 5, 2024 00:08
@lvca lvca added this to the 24.3.1 milestone Apr 5, 2024
@lvca
lvca merged commit 5c965b3 into ArcadeData:main Apr 5, 2024
@lvca

lvca commented Apr 5, 2024

Copy link
Copy Markdown
Member

Thanks @gramian !

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lvca lvca added bug labels Apr 5, 2024
@gramian gramian mentioned this pull request Apr 5, 2024
SQL: IMPORT DATABASE fails for missing CSV values #1199
Closed
tae898 pushed a commit to humemai/arcadedb-embedded-python that referenced this pull request Jun 28, 2026
@gramian
Add null check to accumulator to fix csv import (ArcadeData#1538)
264b076
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lvca lvca Awaiting requested review from lvca

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@gramian gramian

Labels

None yet

Projects

None yet

Milestone

24.4.1

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@gramian @lvca
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.