Sfoglia il codice sorgente

handle tinyint fields in getCassandraBaseType (#1255)

Vincent Rischmann 6 anni fa
parent
commit
30de9a1866
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      helpers.go

+ 2 - 0
helpers.go

@@ -91,6 +91,8 @@ func getCassandraBaseType(name string) Type {
 		return TypeFloat
 	case "int":
 		return TypeInt
+	case "tinyint":
+		return TypeTinyInt
 	case "timestamp":
 		return TypeTimestamp
 	case "uuid":