mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 10:39:30 +00:00 
			
		
		
		
	changed logic for parsing version (#8606)
This commit is contained in:
		
							parent
							
								
									4407c75e28
								
							
						
					
					
						commit
						283200449b
					
				| @ -183,7 +183,9 @@ class HiveSource(CommonDbSourceService): | ||||
|         return cls(config, metadata_config) | ||||
| 
 | ||||
|     def _parse_version(self, version: str) -> Tuple: | ||||
|         return tuple(map(int, (version.split(".")))) | ||||
|         if "-" in version: | ||||
|             version = version.replace("-", ".") | ||||
|         return tuple(map(int, (version.split(".")[:3]))) | ||||
| 
 | ||||
|     def prepare(self): | ||||
|         """ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 NiharDoshi99
						NiharDoshi99