Skip to main content

address_seen

Stores every address we've ever encountered from any source in the database.

Primary Key:Checks:
  • address_seen_address1_upper_check - (address1 = upper(address1))
  • address_seen_address2_upper_check - (address2 = upper(address2))
  • address_seen_address_id_check - ((canonical_address_id IS NULL) = (canonical_primary_address_only_id IS NULL))
  • address_seen_city_upper_check - (city = upper(city))
  • address_seen_country_code_check - (country_code <> ''::text)
  • address_seen_country_subdivision_upper_check - (country_subdivision = upper(country_subdivision))
  • address_seen_postal_code_upper_check - (postal_code = upper(postal_code))
  • address_seen_state_or_province_upper_check - (state_or_province = upper(state_or_province))
Foreign Keys:Indexes:
ColumnData TypeNullableIndexedDescription
address_idbigintNoYesSnowflake ID for address.

Generated through expression: 
canonical_address_idbigintYesYesLink to the canonical address record.

Generated through expression: 
canonical_primary_address_only_idbigintYesYesLink to the canonical primary address record. Primary address is usually the address of the building without apartment numbers, floors, etc. This makes it possible to identify addresses within the same building.

Generated through expression: 
is_invalid_addressbooleanYesNoIs the address invalid.

Generated through expression: 
address1textNoYesAddress 1 should contain the building or house number, predirectionals, street name/PO Box, postdirectionals, and street suffix.

Generated through expression: 
address2textNoYesAddress 2 is additional information to address 1 such as Floor 2 or Apartment 3.

Generated through expression: 
citytextNoYesCity name

Generated through expression: 
state_or_provincetextNoYesState or province name

Generated through expression: 
postal_codetextNoYesPostal code, the 5 or 9 digit zip code in the United States.

Generated through expression: 
country_codetextYesYesTwo-digit country code such as US for United States or UK for United Kingdom.

Generated through expression: 
country_subdivisiontextNoYesAdministrative or political divisions within a country such as state, province, territory, or administrative region.

Generated through expression: 
last_retrieved_datedateYesNo-

Generated through expression: