mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-11-03 20:27:50 +00:00 
			
		
		
		
	feat(tableau): add support for Google BigQuery connection type in pla… (#14080)
This commit is contained in:
		
							parent
							
								
									6c82d70642
								
							
						
					
					
						commit
						b1c3d33235
					
				@ -579,10 +579,12 @@ def get_platform(connection_type: str) -> str:
 | 
			
		||||
        platform = "oracle"
 | 
			
		||||
    elif connection_type in ("tbio", "teradata"):
 | 
			
		||||
        platform = "teradata"
 | 
			
		||||
    elif connection_type in ("sqlserver"):
 | 
			
		||||
    elif connection_type in ("sqlserver",):
 | 
			
		||||
        platform = "mssql"
 | 
			
		||||
    elif connection_type in ("athena"):
 | 
			
		||||
    elif connection_type in ("athena",):
 | 
			
		||||
        platform = "athena"
 | 
			
		||||
    elif connection_type in ("googlebigquery",):
 | 
			
		||||
        platform = "bigquery"
 | 
			
		||||
    elif connection_type.endswith("_jdbc"):
 | 
			
		||||
        # e.g. convert trino_jdbc -> trino
 | 
			
		||||
        platform = connection_type[: -len("_jdbc")]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user