mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-11-04 04:29:13 +00:00 
			
		
		
		
	sample-data-fixed (#4976)
This commit is contained in:
		
							parent
							
								
									74e5404fe0
								
							
						
					
					
						commit
						1f6901f1c9
					
				@ -39,5 +39,8 @@ class AzuresqlSource(SQLSource):
 | 
			
		||||
            raise InvalidSourceException(
 | 
			
		||||
                f"Expected AzureSQLConnection, but got {connection}"
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
        if config.sourceConfig.config.sampleDataQuery == "select * from {}.{} limit 50":
 | 
			
		||||
            config.sourceConfig.config.sampleDataQuery = (
 | 
			
		||||
                "select top 50 * from [{}].[{}]"
 | 
			
		||||
            )
 | 
			
		||||
        return cls(config, metadata_config)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user