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

Transformation tool: PortNumber missing from OED location output #155

Open
niamhomalleyjba opened this issue Oct 29, 2024 · 0 comments
Open
Assignees

Comments

@niamhomalleyjba
Copy link

Issue Description

The OED location output does not contain the PortNumber column and I see no reference to it in the ods_tools/odtf/examples/sql/cede_location.sql

Steps to Reproduce (Bugs only)

Config file:

transformations:
  loc: # Transformation name
    input_format:
      name: Cede_Location
      version: 10.0.0
    output_format:
      name: OED_Location
      version: 3.0.2
    runner:
      batch_size: 750 # Number of rows to process in a single batch
    extractor:
      type: mssql # Path to the DB connection file. Other options are 'postgres' and 'sqlite'. Defaults to 'csv', when not present.
      options:
        host: myserver, 1450
        port:
        database: MY_DB
        user: foo
        password: bar
        sql_statement: ./cede_location.sql # SQL statement to extract data
    loader:
      options:
        path: ./oed_location.csv # Path to the output file
        quoting: minimal

Command used:

ods_tools transform --config-file /path/to/config.yaml --nocheck

Output is created but the PortNumber column is missing from the output.

Version / Environment information

Name: ods_tools
Version: 3.2.7

Example data / logs

@benhayes21 benhayes21 self-assigned this Nov 20, 2024
@benhayes21 benhayes21 moved this to In Progress in Oasis Dev Team Tasks Nov 20, 2024
@benhayes21 benhayes21 moved this from In Progress to Todo in Oasis Dev Team Tasks Jan 14, 2025
@benhayes21 benhayes21 moved this from Todo to On Hold in Oasis Dev Team Tasks Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: On Hold
Development

No branches or pull requests

2 participants