Commit eb16257
CC-6599: java.lang.ClassCastException: java.util.Date cannot be cast to java.lang.Long while setting default date value (#135)
* Fix ClassCastException while setting Date default value
* Add tests for default values
* Remove byte type from tests because of bug (it was fixed in another PR)
* improved fix and added test
Signed-off-by: Lev Zemlyanov <lev@confluent.io>
* variable name fix
Signed-off-by: Lev Zemlyanov <lev@confluent.io>
* review comment
Signed-off-by: Lev Zemlyanov <lev@confluent.io>1 parent 4a34e4b commit eb16257
File tree
2 files changed
+20
-1
lines changed- src
- main/java/io/confluent/connect/elasticsearch
- test/java/io/confluent/connect/elasticsearch
2 files changed
+20
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
| 212 | + | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
78 | 96 | | |
79 | 97 | | |
80 | 98 | | |
| |||
0 commit comments