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

missing data fields on folio_inventory.item tables #64

Closed
sbeltaine opened this issue Mar 13, 2024 · 1 comment
Closed

missing data fields on folio_inventory.item tables #64

sbeltaine opened this issue Mar 13, 2024 · 1 comment

Comments

@sbeltaine
Copy link

We are running Metadb v1.2.2. There are 3 LDP data fields from the inventory_items table that are not available in the equivalent folio_inventory.item table (including in the JSON data array) in Metadb.

  • last_check_in__date_time
  • last_check_in__service_point_id
  • last_check_in__staff_member_id

Can these tables be added to Metadb?

@nassibnassar
Copy link
Contributor

Unlike LDP, Metadb has no knowledge of specific tables; it only knows what it receives from Kafka.

In this case the issue is that LDP extracts second-level JSON objects, while Metadb does not do this yet. You can select them from folio_inventory.item using jsonb_extract_path_text(), for example, jsonb_extract_path_text(jsonb, 'lastCheckIn', 'dateTime').

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

No branches or pull requests

2 participants