This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print('''HESAP MAKİNEMİZE HOŞ GELDİNİZ... | |
TOPLAMA İŞLEMİ İÇİN : + | |
ÇIKARMA İŞLEMİ İÇİN : - | |
ÇARPMA İŞLEMİ İÇİN : * | |
BÖLME : / | |
TUŞLARINI KULLANINIZ....''') | |
çalıştır = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import zlib | |
from typing import List, Tuple | |
from aiobotocore.session import AioSession | |
from aiohttp_retry import ExponentialRetry, RetryClient | |
from tqdm import tqdm | |
# ##### PARAMETERIZED PART ####### | |
YEAR = 2015 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.common.collect.Lists; | |
import org.apache.iceberg.BaseCombinedScanTask; | |
import org.apache.iceberg.FileScanTask; | |
import org.apache.iceberg.flink.source.assigner.DefaultSplitAssigner; | |
import org.apache.iceberg.flink.source.split.IcebergSourceSplit; | |
import org.apache.iceberg.flink.source.split.IcebergSourceSplitState; | |
import java.util.Collection; | |
import java.util.List; | |
import java.util.stream.Collectors; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.iceberg.aws.AwsClientFactories; | |
import org.apache.iceberg.aws.s3.S3FileIO; | |
import org.apache.iceberg.aws.s3.S3FileIOProperties; | |
import org.apache.iceberg.util.SerializableSupplier; | |
import software.amazon.awssdk.services.s3.S3Client; | |
import java.util.concurrent.atomic.AtomicBoolean; | |
public class CustomS3FileIO extends S3FileIO { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.common.base.Joiner; | |
import com.google.common.base.Preconditions; | |
import com.google.common.io.ByteStreams; | |
import org.apache.iceberg.aws.s3.S3FileIOProperties; | |
import org.apache.iceberg.exceptions.NotFoundException; | |
import org.apache.iceberg.io.FileIOMetricsContext; | |
import org.apache.iceberg.io.IOUtil; | |
import org.apache.iceberg.io.RangeReadable; | |
import org.apache.iceberg.io.SeekableInputStream; | |
import org.apache.iceberg.metrics.Counter; |
OlderNewer