databrickslabs / databrickslabs/pytester
[make_cluster] does not allow custom node_type_id
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 139
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Hey,
does not allow a custom node_type_id, if the "instance_pool_id" is not given. In my point of view this doesn't make sense, still I want to be able to match my cluster_policies requirements.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read src/databricks/labs/pytester/fixtures/compute.py around line 108 and trace how make_cluster handles node_type_id when instance_pool_id is absent. Confirm the expected behavior for a custom node_type_id and cluster-policy matching; the issue is done when make_cluster accepts that configuration without requiring an instance pool.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100