Browse the catalog
Open Postgres in the sidebar. The Sources page shows one card for each data source available to the selected carrier. Use Search sources to filter by name or description.
The Sources page. The Source preview on the right follows the selected source.
- Carrier-scoped — the view contains only the selected carrier’s rows.
- Global — reference data that is the same for every carrier.
- Provisioned — you already have a view for this source.
- Selected — the source shown in the Source preview panel.
Available sources
Set up access
Select Open details to open the source’s own page, headed with the source’s name, where you configure the view and its login. The Sources list on the left has every source, so you can switch between them without returning to the Sources page.Choose columns
waybillNumber under Waybill ID.
Choose the columns to include in your view
Set an automatic expiry (optional)
Provision the view

A provisioned view, ready for its database login
Create the database login
Save the credential
psql and most PostgreSQL drivers accept. The page hides the
password in it, but its copy button copies the real password.
The credential is shown once. Save it in your password manager or secret store.
Connect to the view
Use the Host, Port, Database, Username, and Password from the credential. SSL is required. Your login can read only its own view, which lives in thecedar_apps schema and is named like
cedar_apps.data_depot_<source>_<carrier>_<id>.
- psql
- JDBC
- Python
psql asks for the password. The Connection string you copied works here too, but it includes the password, so it
ends up in your shell history.Column names in SQL
Choose columns shows each column’s display name, such as Waybill ID or Track ID. In the view, the column has its own name, such aswaybillNumber or trackId, which Choose columns shows underneath the display name. Use
that name in SQL.
- Put a name in double quotes when it has a capital letter or a dot, for example
"waybillNumber"or"station.region". Without quotes, Postgres readswaybillNumberaswaybillnumberand can’t find the column. - Lowercase names with underscores, such as
row_keyorcharge_id, work with or without quotes.
waybillNumber. Locations,
Charge Audit Records, Car Hire Monthly Detail, X12 Messages, and STCC Hazmat Detail use names like charge_id.
To list the column names in your view, run:
Private network connectivity
By default, your tools connect to the view over the internet, encrypted with SSL. If your security policy requires BI traffic to stay on a private network, Cedar can set up a private connection to your Postgres views. This is a custom setup arranged per customer: contact your Cedar account team, and we’ll work out the details with your network team.Postgres views or CDC delivery?
A Postgres view is live: every query your BI tool runs is answered by Cedar’s database. That makes views the quickest way to get current data, but it also means your dashboards depend on Cedar’s Postgres service, including its availability, performance, and maintenance windows. If you want full control of your data, with your own storage, your own retention, and your own SLA, use CDC delivery instead. Cedar pushes the data to your Azure or Amazon S3 storage, and your BI tools read from your own copy, so they keep working even while Cedar’s database is unavailable.Change the columns later
Return to the source, change the selected columns (or the automatic expiry), and select Update view with N columns. The view is updated in place, and the login and password don’t change, so your connected tools keep working. Queries that name a column you removed will start to fail, so update them at the same time.Manage existing access
Select History at the bottom of Provision & database access to open it. It lists every view created for that source on this carrier, including revoked ones, with who created it and when. The number next to History counts them.
History lists current and past views for a source
Reset the password
Select Reset credential, then Reset password to confirm. The current password stops working immediately, and the new password is shown once. Update every tool that uses the login.Revoke access
Select Revoke access, then Revoke access again in the dialog to confirm. Data Depot removes the view and its login. You can provision the source again later. Revoking can take a moment; the status shows Revoking until it finishes.Statuses
Limits
- One active view per source per carrier. To change it, update its columns rather than creating a second view.
- One login per view.
- While an earlier view for the source is still being revoked, or its cleanup needs attention, you can’t provision the source again. Data Depot opens History and shows a notice. If removing the earlier view and login didn’t finish, select Retry revoke in the notice. If the removal is still running, wait for it to finish.
- Once a view’s automatic expiry passes, the button reads Provision expired until Data Depot finishes removing the view. After that, you can provision the source again.
- Views are read-only. You can’t write to Cedar through them.
Join sources together
Some columns in one view point at rows in another view. For example,"equipmentId" in Equipment History points at a
car in Equipment Inventory. Use these links to relate the views you’ve provisioned for the same carrier.
Each login can read only its own view, so a single query on Cedar’s database can’t read two views. Connect each view
with its own login, then join them in your BI tool, as a relationship between two tables, or in your warehouse after
you load them.
Use the column names from the view, in double quotes where needed. See Column names in SQL.
Each source’s page shows its links under Links to other views, as a Diagram or a List, and marks each link
column in Choose columns with a Links to badge.
Every row has a row_key
Every view has arow_key column that identifies its rows. It’s always in the view, even though Choose columns
doesn’t list it. Every link points at the row_key of the other view.
carrier_id column. Each view holds one carrier’s rows, so you don’t need it to
join two views for the same carrier. Use it to tell carriers apart when you combine views from more than one carrier.
Links between views
Arrows point from the view that holds the link to the view it points at. The tables below list every link. Keep selected is the column, as Choose columns names it, that must stay selected in the “from” view for the link to be there. Shipments, Car Hire Monthly Detail, and STCC Hazmat Detail don’t link to other views.Cars, history, and locations
Charges and waybills
waybill_id) is the
waybill’s record ID, which matches the Waybills row_key. In Waybills, the column shown as Waybill ID is
"waybillNumber", the number on the waybill. Waybill numbers repeat across dates, so join on row_key, not on the
number.X12 Messages
Links inside JSON columns
Some links are inside a JSON column whose name ends in_secondary, such as station_secondary. It holds extra values
for the column it’s named after, such as the location ID behind a station name. The JSON column is in the view only
while that column is selected. Read the value with ->>, then convert it with ::bigint before you compare it to a
row_key.
Join examples
These examples use PostgreSQL. Replace<equipment_view> and the other placeholders with the tables you loaded the
views into. If your warehouse uses another SQL dialect, keep the same columns and change how the JSON value is read.
Each history event with its car. Keep Timestamp and Type selected in Equipment History, and Equipment
in Equipment Inventory.
station_location_id to the row_key of your Locations view. In a warehouse that holds both
views, join with ON l.row_key = (e."station_secondary"->>'groupingId')::bigint.
A few things to know about Locations:
parent_grouping_idwalks your location hierarchy. Road rows aren’t in the view, so a top-level location’s parent may not match a row.- Location template attributes become columns named
<location type>.<attribute>, for examplestation.region, so attributes with the same name on different location types stay separate. Because of the dot, put these names in double quotes in SQL:"station.region". - The view includes deleted locations as well as current ones.
Troubleshooting
Password authentication failed
Password authentication failed
Permission denied for the view
Permission denied for the view
cedar_apps schema.A column disappeared
A column disappeared
I can browse sources but can't provision
I can browse sources but can't provision
A source I expected isn't listed
A source I expected isn't listed