• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ExpediaGroup / drone-fly / #138

25 Mar 2026 06:43PM UTC coverage: 34.545% (-21.6%) from 56.14%
#138

push

web-flow
Merge b3b9b43f3 into f8782bb73

12 of 164 new or added lines in 14 files covered. (7.32%)

133 of 385 relevant lines covered (34.55%)

0.35 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/drone-fly-app/src/main/java/org/apache/hadoop/hive/metastore/api/TimestampColumnStatsData.java
1
/**
2
 * Copyright (C) 2020-2026 Expedia, Inc.
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 * http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
package org.apache.hadoop.hive.metastore.api;
17

18
import java.io.Serializable;
19

20
/**
21
 * Compatibility shim for {@code TimestampColumnStatsData}. The Hive 4.x Thrift-generated class has
22
 * both {@code setBitVectors(byte[])} and {@code setBitVectors(ByteBuffer)}, and similarly for
23
 * {@code setHistogram}, which causes Jackson {@code InvalidDefinitionException}. This shim exposes
24
 * only the {@code byte[]} setters, resolving the conflict.
25
 */
26
public class TimestampColumnStatsData implements Serializable {
27

28
  private Timestamp lowValue;
29
  private Timestamp highValue;
30
  private long numNulls;
31
  private long numDVs;
32
  private byte[] bitVectors;
33
  private byte[] histogram;
34

NEW
35
  public TimestampColumnStatsData() {}
×
36

37
  public Timestamp getLowValue() {
NEW
38
    return lowValue;
×
39
  }
40

41
  public void setLowValue(Timestamp lowValue) {
NEW
42
    this.lowValue = lowValue;
×
NEW
43
  }
×
44

45
  public Timestamp getHighValue() {
NEW
46
    return highValue;
×
47
  }
48

49
  public void setHighValue(Timestamp highValue) {
NEW
50
    this.highValue = highValue;
×
NEW
51
  }
×
52

53
  public long getNumNulls() {
NEW
54
    return numNulls;
×
55
  }
56

57
  public void setNumNulls(long numNulls) {
NEW
58
    this.numNulls = numNulls;
×
NEW
59
  }
×
60

61
  public long getNumDVs() {
NEW
62
    return numDVs;
×
63
  }
64

65
  public void setNumDVs(long numDVs) {
NEW
66
    this.numDVs = numDVs;
×
NEW
67
  }
×
68

69
  public byte[] getBitVectors() {
NEW
70
    return bitVectors;
×
71
  }
72

73
  public void setBitVectors(byte[] bitVectors) {
NEW
74
    this.bitVectors = bitVectors;
×
NEW
75
  }
×
76

77
  public byte[] getHistogram() {
NEW
78
    return histogram;
×
79
  }
80

81
  public void setHistogram(byte[] histogram) {
NEW
82
    this.histogram = histogram;
×
NEW
83
  }
×
84
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc