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

how to we work with the postGIS column?? #1037

Closed
1 task
SLDonnelly opened this issue Apr 24, 2024 · 2 comments · Fixed by #1122
Closed
1 task

how to we work with the postGIS column?? #1037

SLDonnelly opened this issue Apr 24, 2024 · 2 comments · Fixed by #1122
Assignees

Comments

@SLDonnelly
Copy link
Collaborator

SLDonnelly commented Apr 24, 2024

Describe the task
Spike to determine how it works with (1) java and (2) how it can work with the seedlot_audit table.

Ricardo to work with java classes and document how they work with Java and the ETL. For the seed_audit table need to capture changes to the seedlot postgis columns.

Acceptance Criteria

@RMCampos
Copy link
Contributor

Logs from the database, regarding the Seedlot Audit table:

2024-05-13 18:38:26.019 UTC [23624] WARNING:  [AUDIT.IF_MODIFIED_FUNC] - UDF ERROR [OTHER] - SQLSTATE: 42601, SQLERRM: INSERT has more expressions than target columns
2024-05-13 18:38:26.019 UTC [23624] CONTEXT:  PL/pgSQL function seedlot_if_modified_func() line 345 at RAISE
2024-05-13 18:42:04.000 UTC [23929] WARNING:  [AUDIT.IF_MODIFIED_FUNC] - UDF ERROR [OTHER] - SQLSTATE: 42601, SQLERRM: INSERT has more expressions than target columns
2024-05-13 18:42:04.000 UTC [23929] CONTEXT:  PL/pgSQL function seedlot_if_modified_func() line 345 at RAISE
2024-05-13 18:42:04.045 UTC [23929] WARNING:  [AUDIT.IF_MODIFIED_FUNC] - UDF ERROR [OTHER] - SQLSTATE: 42601, SQLERRM: INSERT has more expressions than target columns
2024-05-13 18:42:04.045 UTC [23929] CONTEXT:  PL/pgSQL function seedlot_if_modified_func() line 345 at RAISE
2024-05-13 18:42:04.581 UTC [23929] WARNING:  [AUDIT.IF_MODIFIED_FUNC] - UDF ERROR [OTHER] - SQLSTATE: 42601, SQLERRM: INSERT has more expressions than target columns
2024-05-13 18:42:04.581 UTC [23929] CONTEXT:  PL/pgSQL function seedlot_if_modified_func() line 345 at RAISE
2024-05-13 18:42:05.627 UTC [23929] WARNING:  [AUDIT.IF_MODIFIED_FUNC] - UDF ERROR [OTHER] - SQLSTATE: 42601, SQLERRM: INSERT has more expressions than target columns
2024-05-13 18:42:05.627 UTC [23929] CONTEXT:  PL/pgSQL function seedlot_if_modified_func() line 345 at RAISE

@RMCampos
Copy link
Contributor

Based on this task. A SPAR wiki page was put together: How to work with PostGIS in Java

References:

Indirectly related:

RMCampos added a commit that referenced this issue May 14, 2024
@RMCampos RMCampos linked a pull request May 14, 2024 that will close this issue
3 tasks
RMCampos added a commit that referenced this issue May 14, 2024
RMCampos added a commit that referenced this issue May 14, 2024
RMCampos added a commit that referenced this issue May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment