Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PDI-19719] - PGBulkLoader failed if input stream is empty #8791

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

petrprochy
Copy link
Contributor

@buildguy

This comment has been minimized.

@buildguy

This comment has been minimized.

@hitachivantarasonarqube
Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition 50.0% 50.0% Coverage on New Code (is less than 80%)

See analysis details on SonarQube

@arunchugh87
Copy link

While migrating the table data thru kettle tool from sql server to postgresql database getting below-

2023/03/15 16:59:52 - write to [REPORTS].0 - Caused by: org.postgresql.util.PSQLException: ERROR: column "NAME" of relation "reports" does not exist
Position: 56

SQL Server table ddl-

CREATE TABLE [dbo].[REPORTS](
[RID] [int] NOT NULL,
[NAME] nvarchar NULL,
[CATEGORY] [int] NULL,
[STATUS] [int] NULL,
[XML] nvarchar NULL,
[DESCRIPTION] nvarchar NULL)

Postgresql table ddl -

CREATE TABLE IF NOT EXISTS public.reports
(
rid integer NOT NULL,
name character varying(150),
category integer,
status integer,
xml character varying,
description character varying(255)
)

@petrprochy
Copy link
Contributor Author

This is not good place for resolving of this problem.
Please use official Pentaho community forum.

@arunchugh87
Copy link

arunchugh87 commented Mar 17, 2023 via email

@marhefkaadam
Copy link

Hi, is there any chance i could get these changes in a new .jar file for my project? I encountered this problem and it's really frustrating and there is only this fix available. I tried to recompile it and generate new .class files but it just doesn't work. It's used in PDI in plugins/postgresql-db-bulk-loader-plugins and there are two .jar files: postgresql-db-bulk-loader-plugins-impl-9.4.0.0-343.jar and postgresql-db-bulk-loader-plugins-ui-9.4.0.0-343.jar . I suppose this fix is relevant only to the first .jar file. Thanks for help in advance.

@petrprochy
Copy link
Contributor Author

@arunchugh87 At the top right is Sign In and bottom of page is link Register Here (for partners, customers and guests).

@petrprochy
Copy link
Contributor Author

@marhefkaadam You can clone from my repository and use branch 9.4.0.0-GA with this fix. You need Maven v3.8 (do not use Maven v3.9) and run building of project: mvn package.
Or download my last integration ZIP of plugin
postgresql-db-bulk-loader-plugins-9.4.0.0-343-1-20230301.151900-4.zip

@marhefkaadam
Copy link

@petrprochy thanks for the help! I managed to recompile it on my machine with your fix in the end. But thanks!

@smaring smaring requested a review from a team as a code owner October 17, 2023 15:28
@jpturski
Copy link

@marhefkaadam You can clone from my repository and use branch 9.4.0.0-GA with this fix. You need Maven v3.8 (do not use Maven v3.9) and run building of project: mvn package. Or download my last integration ZIP of plugin postgresql-db-bulk-loader-plugins-9.4.0.0-343-1-20230301.151900-4.zip

thanks so much, my pgbulkloaders stopped working when upgrading to pdi 9.4, and those plugins did the trick to make it back to work

@buildguy
Copy link
Collaborator

buildguy commented Mar 4, 2024

❌ Build failed in 5m 2s

Build command:

mvn clean verify -B -e -Daudit -amd -Djs.no.sandbox -pl \
plugins/postgresql-db-bulk-loader/impl

❗ No tests found!

Errors:

Filtered log (click to expand)

script returned exit code 1

ℹ️ This is an automatic message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants