Create and deploy a custom big object

Let’s create a custom big object that stores data from a car sharing service. Use the data provided to create and deploy a custom big object and its index so that you can use it in your org.
  • Define the custom big object Rider_History__b.object:
    • Fields:
      • Start_Location_Lat__c
        • Label: Start Location Latitude
        • Required: False
        • Type: Number
        • Unique: False
        • Precision: 7
        • Scale: 4
      • Start_Location_Long__c
        • Label: Start Location Longitude
        • Required: False
        • Type: Number
        • Unique: False
        • Precision: 7
        • Scale: 4
      • Start_Time__c
        • Label: Start Time
        • Required: True
        • Type: DateTime
        • Unique: False
      • End_Time__c
        • Label: End Time
        • Required: False
        • Type: DateTime
        • Unique: False
      • Service_Type__c
        • Label: Service Type
        • Length: 16
        • Required: False
        • Type: Text
        • Unique: False
      • Rider_Account__c
        • Label: Rider Account
        • Length: 16
        • Required: True
        • Type: Text
      • Rider_Rating__c
        • Label: Rider Rating
        • Required: False
        • Type: Number
        • Unique: False
        • Precision: 2
        • Scale: 1
    • Define the index:
      • Full name: Rider_History_Index
      • Label: Rider History Index
      • Index fields:
        • Rider_Account__c
          • Sort: DESC
        • Start_Time__c
          • Sort: DESC
  • Define the permission set rider_history.permissionset:
    • Set permission for all non-indexed fields as readable and editable
  • Deploy the metadata package to your org