summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python/src
diff options
context:
space:
mode:
authormihailagei <[email protected]>2026-06-23 15:55:22 +0300
committermihailagei <[email protected]>2026-06-23 16:24:21 +0300
commit7bdbee65f3d67909f554f9ff93c2087aed07b9d8 (patch)
tree66965ed628479c724cbd79246bf0b3034626cf35 /contrib/tools/python/src
parente849991a3e262c17b09f7f94c5101c7051452e18 (diff)
SPYT-1033: revert cluster-default network_project from SPYT gateway
The cluster-level NetworkProject default added in the previous PR was conceptually wrong: spark.ytsaurus.network.project is a property of each user's ABC access, not of the SPYT cluster. There is no universal default that works for all users, so any value baked into gateway config either misleads or breaks queries. The correct path is per-query override via the existing parameters.spark_conf.spark.ytsaurus.network.project hook in SpytOperationsRunner.formatSettings; that path is unaffected by this revert. Reverts the following components added in PR 14020425: - TSpytClusterConfig.NetworkProject proto field - Cluster.CustomFieldType.SPYT_NETWORK_PROJECT enum value - 6th Optional<String> networkProject parameter of Cluster.newSpyt - networkProject reading in ClustersManager.getSpytClusters - SpytOperationsRunner.buildSparkConfFromCluster and the third cluster layer in the spark_conf merge - SPARK_NETWORK_PROJECT_KEY constant - NetworkProject: "test_spyt_project" line in yql-test/gateways.conf - Related tests + the spytCluster(discoveryPath, networkProject) helper overload DiscoveryPath stays — it is a legitimate cluster property (canonical discovery path set by ops once per cluster) and is unrelated to per-user ABC access. commit_hash:9c167a5ebef7c3458f1691fe00c81674bb694789
Diffstat (limited to 'contrib/tools/python/src')
0 files changed, 0 insertions, 0 deletions