Skip to content

Commit

Permalink
Merge pull request #142 from rudderlabs/fix-salesforcedateFormat(ETL-55)
Browse files Browse the repository at this point in the history
fix: fixes salesforce connector errors
  • Loading branch information
a-rampalli authored Aug 21, 2023
2 parents a342c6c + 3cbbad8 commit c3665e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"UserEntityAccess",
"UserFieldAccess",
"Vote",
"FlowTestView",
]

# The following objects are not supported by the query method being used.
Expand Down Expand Up @@ -125,6 +126,7 @@
"SessionHijackingEvent",
"UriEventStream",
"UserRecordAccess",
"DatacloudContact",
]

# The following objects are not supported by the Bulk API. Listed objects are version specific.
Expand Down Expand Up @@ -177,6 +179,7 @@
"AccountBrandShare",
"AccountFeed",
"AssetFeed",
"WorkStepStatus",
]

UNSUPPORTED_FILTERING_STREAMS = [
Expand All @@ -199,6 +202,8 @@
"ReportEvent",
"TabDefinition",
"UriEvent",
"PermissionSetEventStore",
"ActivityFieldHistory",
]

RESOURCE_PRIMARY_KEY_MAP = {
Expand All @@ -210,7 +215,7 @@
"Publisher": "DurableId", # https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_publisher.htm
"ApexPageInfo": "DurableId" # https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_apexpageinfo.htm
}
UNSUPPORTED_STREAMS = ["ActivityMetric", "ActivityMetricRollup"]
UNSUPPORTED_STREAMS = ["ActivityMetric", "ActivityMetricRollup", "PromotionTarget", "PromotionQualifier"]


class Salesforce:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ connectionSpecification:
pattern: >-
^([0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}Z)?)$
examples:
- "2021-07-25"
- "2021-07-25T00:00:00Z"
format: date-time
order: 5
Expand Down

0 comments on commit c3665e8

Please sign in to comment.