Hebo Yang
04/18/2023, 5:35 PMdaniel
04/18/2023, 5:39 PMHebo Yang
04/18/2023, 5:46 PMdaniel
04/18/2023, 5:48 PMHebo Yang
04/18/2023, 5:50 PMdaniel
04/18/2023, 5:55 PMHebo Yang
04/18/2023, 5:55 PMdaniel
04/18/2023, 5:56 PMHebo Yang
04/18/2023, 5:59 PMArun Kumar
04/19/2023, 1:27 AMquery ConfigPartitionsQuery($repositorySelector: RepositorySelector!, $partitionSetName: String!, $assetKeys: [AssetKeyInput!]) {
partitionSetOrError(
repositorySelector: $repositorySelector
partitionSetName: $partitionSetName
) {
__typename
... on PartitionSet {
id
partitionsOrError {
... on Partitions {
results {
...ConfigPartitionResult
__typename
}
__typename
}
...PythonErrorFragment
__typename
}
__typename
}
}
assetNodes(assetKeys: $assetKeys) {
id
partitionDefinition {
name
type
__typename
}
__typename
}
}
fragment ConfigPartitionResult on Partition {
name
__typename
}
fragment PythonErrorFragment on PythonError {
__typename
message
stack
errorChain {
...PythonErrorChain
__typename
}
}
fragment PythonErrorChain on ErrorChainLink {
isExplicitLink
error {
message
stack
__typename
}
__typename
}
daniel
04/19/2023, 2:58 PMArun Kumar
04/19/2023, 6:49 PMassetNodes
or the partitionDefinition
(with in assetNodes) field from the request , the API call finishes quickly.
Also, assetKeys is not passed as the input query variable, and I am seeing all the asset nodes in the response that are unrelated to the partitionSet and the repositorydaniel
04/19/2023, 6:49 PMArun Kumar
04/19/2023, 6:58 PMdaniel
04/19/2023, 6:58 PMArun Kumar
04/19/2023, 7:01 PMdaniel
04/19/2023, 7:02 PMArun Kumar
04/19/2023, 7:07 PMdaniel
04/19/2023, 7:12 PMArun Kumar
04/19/2023, 7:15 PMdaniel
04/19/2023, 7:18 PMArun Kumar
04/19/2023, 7:22 PMpartitionDefinition
field for each of those assetNodesdaniel
04/19/2023, 7:50 PMclaire
04/19/2023, 8:15 PMArun Kumar
04/19/2023, 8:46 PMHebo Yang
04/19/2023, 8:54 PMDailyPartitionsDefinition(
start_date=PARTITION_START_DATE, timezone=str(TZ), end_offset=1
)
daniel
04/19/2023, 8:57 PMArun Kumar
04/20/2023, 6:18 PMdaniel
04/20/2023, 6:19 PMStuart Robinson
04/21/2023, 10:26 AMHebo Yang
05/03/2023, 7:10 PM/usr/local/lib/python3.7/site-packages/dagster/_core/workspace/context.py:593: UserWarning: Error loading repository location fabricator:dagster._core.errors.DagsterUserCodeUnreachableError: User code server request timed out due to taking longer than 60 seconds to complete.
Stack Trace:
File "/usr/local/lib/python3.7/site-packages/dagster/_core/workspace/context.py", line 588, in _load_location
location = self._create_location_from_origin(origin)
File "/usr/local/lib/python3.7/site-packages/dagster/_core/workspace/context.py", line 508, in _create_location_from_origin
return origin.create_location()
File "/usr/local/lib/python3.7/site-packages/dagster/_core/host_representation/origin.py", line 325, in create_location
return GrpcServerCodeLocation(self)
File "/usr/local/lib/python3.7/site-packages/dagster/_core/host_representation/code_location.py", line 632, in __init__
self,
File "/usr/local/lib/python3.7/site-packages/dagster/_api/snapshot_repository.py", line 29, in sync_get_streaming_external_repositories_data_grpc
repository_name,
File "/usr/local/lib/python3.7/site-packages/dagster/_grpc/client.py", line 348, in streaming_external_repository
defer_snapshots=defer_snapshots,
File "/usr/local/lib/python3.7/site-packages/dagster/_grpc/client.py", line 185, in _streaming_query
e, timeout=timeout, custom_timeout_message=custom_timeout_message
File "/usr/local/lib/python3.7/site-packages/dagster/_grpc/client.py", line 138, in _raise_grpc_exception
) from e
The above exception was caused by the following exception:
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.DEADLINE_EXCEEDED
details = "Deadline Exceeded"
debug_error_string = "{"created":"@1683137122.386091274","description":"Error received from peer ipv4:10.4.248.159:3030","file":"src/core/lib/surface/call.cc","file_line":966,"grpc_message":"Deadline Exceeded","grpc_status":4}"
>
Stack Trace:
File "/usr/local/lib/python3.7/site-packages/dagster/_grpc/client.py", line 181, in _streaming_query
method, request=request_type(**kwargs), timeout=timeout
File "/usr/local/lib/python3.7/site-packages/dagster/_grpc/client.py", line 169, in _get_streaming_response
yield from getattr(stub, method)(request, metadata=self._metadata, timeout=timeout)
File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 426, in __next__
return self._next()
File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 809, in _next
raise self
location_name=location_name, error_string=error.to_string()
daniel
05/03/2023, 7:14 PMHebo Yang
05/03/2023, 7:35 PM