Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AmazonDynamoDB-Source Data is missing #5124

Closed
2 of 3 tasks
wulinzhai opened this issue Jul 20, 2023 · 1 comment · Fixed by #5146
Closed
2 of 3 tasks

AmazonDynamoDB-Source Data is missing #5124

wulinzhai opened this issue Jul 20, 2023 · 1 comment · Fixed by #5146
Labels

Comments

@wulinzhai
Copy link

wulinzhai commented Jul 20, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

There are 1 million pieces of data in the UserTable table of my DynamoDB. I use the Amazon Dynamodb-Source connector to read, and I can only read 93 pieces of data before the end, which may be a bug


       Job Statistic Information

Start Time : 2023-07-20 08:59:27
End Time : 2023-07-20 08:59:31
Total Time(s) : 3
Total Read Count : 93
Total Write Count : 93
Total Failed Count : 0


SeaTunnel Version

2.3.2

SeaTunnel Config

env {
  execution.parallelism = 1
  job.mode = "BATCH"
}

source {
Amazondynamodb {
  url = "https://dynamodb.us-east-1.amazonaws.com"
  region = "us-east-1"
  access_key_id = ""
  secret_access_key = ""
  table = "UserTable"
  schema = {
    fields {
      userID = string
    }
  }
  result_table_name = "source_table"
}
}

transform {
  FieldMapper {
    source_table_name = "source_table"
    result_table_name = "transform_table"
    field_mapper = {
        userID=user_id
    }
  }
}

sink {
  Console {
    source_table_name = "transform_table"
  }
}

Running Command

../bin/seatunnel.sh  -e local --config ddb.template

Error Exception

The data volume of the table is 100w, and only 93 data items are read

2023-07-20 08:59:31,452 INFO  org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - 
***********************************************
           Job Statistic Information
***********************************************
Start Time                : 2023-07-20 08:59:27
End Time                  : 2023-07-20 08:59:31
Total Time(s)             :                   3
Total Read Count          :                  93
Total Write Count         :                  93
Total Failed Count        :                   0
***********************************************

Flink or Spark Version

No response

Java or Scala Version

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@wulinzhai wulinzhai added the bug label Jul 20, 2023
@liugddx
Copy link
Member

liugddx commented Jul 24, 2023

can you provide more detailed logs?

@wulinzhai wulinzhai changed the title AmazonDynamoDB-Source 数据缺失 AmazonDynamoDB-Source Data is missing Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants