Skip to content

fix symlink table column length#2217

Merged
pawel-big-lebowski merged 1 commit into
mainfrom
fix-symlinks-table
Nov 16, 2022
Merged

fix symlink table column length#2217
pawel-big-lebowski merged 1 commit into
mainfrom
fix-symlinks-table

Conversation

@pawel-big-lebowski

@pawel-big-lebowski pawel-big-lebowski commented Oct 27, 2022

Copy link
Copy Markdown
Collaborator

Signed-off-by: Pawel Leszczynski leszczynski.pawel@gmail.com

Problem

Dataset's name column in dataset_symlinks table is shorter than column in datasets table.

Closes: #2216

Solution

  • Change the existing V48 migration script to allow proper migration for users who did not upgrade yet,
  • Add extra migration script to extend column length for users who did upgrade but did not experience the issues.

Note: All database schema changes require discussion. Please link the issue for context.

Checklist

  • You've signed-off your work
  • Your changes are accompanied by tests (if relevant)
  • Your change contains a small diff and is self-contained
  • You've updated any relevant documentation (if relevant)
  • You've updated the CHANGELOG.md with details about your change under the "Unreleased" section (if relevant, depending on the change, this may not be necessary)
  • You've versioned your .sql database schema migration according to Flyway's naming convention (if relevant)
  • You've included a header in any source code files (if relevant)

@boring-cyborg boring-cyborg Bot added the api API layer changes label Oct 27, 2022
@codecov

codecov Bot commented Oct 27, 2022

Copy link
Copy Markdown

Codecov Report

Merging #2217 (6b50627) into main (a7f88b0) will decrease coverage by 0.04%.
The diff coverage is n/a.

❗ Current head 6b50627 differs from pull request most recent head a8d5895. Consider uploading reports for the commit a8d5895 to get more accurate results

@@             Coverage Diff              @@
##               main    #2217      +/-   ##
============================================
- Coverage     76.72%   76.67%   -0.05%     
+ Complexity     1147     1144       -3     
============================================
  Files           219      219              
  Lines          5318     5312       -6     
  Branches        423      421       -2     
============================================
- Hits           4080     4073       -7     
- Misses          763      764       +1     
  Partials        475      475              
Impacted Files Coverage Δ
...pi/src/main/java/marquez/db/mappers/RunMapper.java 83.67% <0.00%> (-5.01%) ⬇️
.../src/main/java/marquez/service/LineageService.java 85.32% <0.00%> (+0.63%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@wslulciuc wslulciuc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯 🥇 Sorry, approved too soon! (Some good discussion is happening below).

@wslulciuc wslulciuc self-requested a review October 27, 2022 17:24
Signed-off-by: Pawel Leszczynski <leszczynski.pawel@gmail.com>
@pawel-big-lebowski pawel-big-lebowski merged commit 7885c8c into main Nov 16, 2022
@pawel-big-lebowski pawel-big-lebowski deleted the fix-symlinks-table branch November 16, 2022 13:43
jonathanpmoraes referenced this pull request in nubank/NuMarquez Feb 6, 2025
Signed-off-by: Pawel Leszczynski <leszczynski.pawel@gmail.com>

Signed-off-by: Pawel Leszczynski <leszczynski.pawel@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api API layer changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: value too long for type character varying(255)

4 participants