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

BugsCEP import 20231219: 'No period found for code' #59

Open
roger-mahler opened this issue Jan 19, 2024 · 0 comments
Open

BugsCEP import 20231219: 'No period found for code' #59

roger-mahler opened this issue Jan 19, 2024 · 0 comments
Assignees
Labels
data-error Incorrect data in SEAD

Comments

@roger-mahler
Copy link
Collaborator

List of all 'No period found for code' errors in latest BugsCEP import.

with error_values as (
    select *, string_to_array(translate(bugs_data, '{}', ''), ',') as data_array, bugs_data
    from bugs_import.bugs_errors
    where TRUE
      and message = 'No period found for code'
) select data_array[4] as period_code, data_array[5] as dating_method, count(*) as count
  from error_values
  group by data_array[4], data_array[5]
  order by 1, 2 desc
period_code dating_method count
BS At Pollen 8
BS Bo Pollen 2
BS PB GeolPer 1
BS SB Pollen 3
BS SB GeolPer 1
BS YD GeolPer 13
ERom ArchPer 2
LNeoNWEuro null 1
LNeoNWEuro ArchPer 3
LNeoSEEuro ArchPer 1
MedGreen HistPer 8
MedGreen ArchPer 97
MedIce ArchPer 261
MigScand ArchPer 6
Neo null 4
Neo Dendro 8
Neo ArchPer 176
RomIAScand ArchPer 6
@roger-mahler roger-mahler added the data-error Incorrect data in SEAD label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-error Incorrect data in SEAD
Projects
None yet
Development

No branches or pull requests

2 participants