Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19638

AvroUnionLogicalSerializerTest class compile error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 1.11.2
    • None
    • Tests
    • None

    Description

      the constructor parameter is java.lang.Long of class UnionLogicalType , but the tests is java.time.Instant

      @Override
      	protected UnionLogicalType[] getTestData() {
      		final Random rnd = new Random();
      		final UnionLogicalType[] data = new UnionLogicalType[20];
      
      		for (int i = 0; i < data.length; i++) {
      			data[i] = new UnionLogicalType(Instant.ofEpochMilli(rnd.nextLong()));
      		}
      
      		return data;
      	}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            tinny shizhengchao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: