Tuesday, 31 May 2022

Java not equal to (!=) operator

Not equal to (!=) is a conditional or relational operator, used to check if one operand is not equal to other operand or not.

 

Syntax

a != b

 

Above snippet return true, if a is not equal to b, else false.

 


NotEqualToOperatorDemo.java

package com.sample.app;

public class NotEqualToOperatorDemo {
	public static void main(String[] args) {
		boolean b1 = (10 != 10);
		boolean b2 = (10 != 11);

		System.out.println("(10 != 10) is evaluated to : " + b1);
		System.out.println("(10 != 11) is evaluated to : " + b2);
	}

}

Output

(10 != 10) is evaluated to : false
(10 != 11) is evaluated to : true

Since != operator return a Boolean value (true or false), you can use this in decision making statements and in loops.

 

!= operator in decision making statements

if (a != 10) {
	System.out.println("a is not equal to 10");
} else {
	System.out.println("a is equal to 10");
}

Find the below working application.

 

NotEqualToOperatorInConditionalStatements.java

package com.sample.app;

public class NotEqualToOperatorInConditionalStatements {

	public static void main(String[] args) {
		int a = 10;

		if (a != 10) {
			System.out.println("a is not equal to 10");
		} else {
			System.out.println("a is equal to 10");
		}

		a = 11;

		if (a != 10) {
			System.out.println("a is not equal to 10");
		} else {
			System.out.println("a is equal to 10");
		}
	}

}

Output

a is equal to 10
a is not equal to 10

!= operator in decision looping constructs

while (a != 0) {
	System.out.printf("a : %d\n", a);
	a--;
}

Find the below working application.

 

NotEqualToOperatorInWhileLoop.java

package com.sample.app;

public class NotEqualToOperatorInWhileLoop {
	
	public static void main(String[] args) {
		int a = 10;
		
		while (a != 0) {
			System.out.printf("a : %d\n", a);
			a--;
		}
	}

}

Output

a : 10
a : 9
a : 8
a : 7
a : 6
a : 5
a : 4
a : 3
a : 2
a : 1


  

Previous                                                 Next                                                 Home

Java math max(): Find the maximum of two numbers

‘java.lang.Math’ class provides max method to get the maximum of two numbers. ‘max’ method is available in below overloaded forms.

 

public static double max(double a, double b)

public static int max(int a, int b)

public static long max(long a, long b)

public static float max(float a, float b)

‘max’ method return the larger of a and b.

 

Example

Math.max(10, 20)

 


 

MathMaxDemo.java

package com.sample.app;

public class MathMaxDemo {
	
	public static void main(String[] args) {
		int a = 10;
		int b = 11;
		
		long c = 12l;
		long d = 13l;
		
		float e = 3.23f;
		float f = 3.24f;
		
		double g = 4.23;
		double h = 4.24;
		
		System.out.println("Maximum of " + a + " and " + b + " is : " + Math.max(a, b));
		System.out.println("Maximum of " + c + " and " + d + " is : " + Math.max(c, d));
		System.out.println("Maximum of " + e + " and " + f + " is : " + Math.max(e, f));
		System.out.println("Maximum of " + g + " and " + h + " is : " + Math.max(g, h));
	}

}

Output

Maximum of 10 and 11 is : 11
Maximum of 12 and 13 is : 13
Maximum of 3.23 and 3.24 is : 3.24
Maximum of 4.23 and 4.24 is : 4.24






Previous                                                 Next                                                 Home

java.lang.Math class tutorial

Previous                                                 Next                                                 Home

Introduction to Apache Atlas

 

Apache Atlas is an open governance and metadata framework.

 

Features of Atlas

Well defined Type System

a.   Pre-defined types for various Hadoop and non-Hadoop metadata

b.   Ability to define new types for the metadata to be managed

c.    Types can have primitive attributes, complex attributes, object references and can inherit from other types

d.   Instances of types, called entities, capture metadata object details and their relationships

e.   REST APIs to work with types and instances allow easier integration

 

Classifying the data

a.   Ability to dynamically create classifications - like PII, EXPIRES_ON, DATA_QUALITY, SENSITIVE

b.   Classifications can include attributes - like expiry_date attribute in EXPIRES_ON classification

c.    Entities can be associated with multiple classifications, enabling easier discovery and security enforcement

d.   Propagation of classifications via lineage - automatically ensures that classifications follow the data as it goes through various processing

 

Lineage support

a.   Intuitive UI to view lineage of data as it moves through various processes

b.   REST APIs to access and update lineage

 

Search and Discovery support

a.   Intuitive UI to search entities by type, classification, attribute value or free-text

b.   Rich REST APIs to search by complex criteria

c.    SQL like query language to search entities - Domain Specific Language (DSL)

 

Security & Data Masking

a.   Fine grained security for metadata access, enabling controls on access to entity instances and operations like add/update/remove classifications

b.   Integration with Apache Ranger enables authorization/data-masking on data access based on classifications associated with entities in Apache Atlas.

For example:

a.   who can access data classified as PII, SENSITIVE

b.   customer-service users can only see last 4 digits of columns classified as NATIONAL_ID

Apache Atlas high level Architecture

 

 


 

 

There are 4 core components in Atals.

a.   Core

b.   Integration

c.    Metadata Sources

d.   Apps

 

Core

Core component includes below components.

a.   Type System: Atlas has variety of built-in types to model data and lineage. Apart from this, you can define custom types by extending built-in types. Using Atlas types system, you can define both technical metadata and business metadata.

 

Instance of a type is called entity. You can model relationships between two entities.

 

b.   Graph Engine: To support rich relationships between Atlas entities, Atlas persist metadata objects using a Graph model. Apart from managing the graph objects, the graph engine is responsible to create indexes for the metadata objects for the efficient retrieval

 

c.    Ingest / Export: Ingest component is used to put metadata into Atlas. Export component is used to get the data from Atlas.

 

 

Integration

Atlas provide two ways to manage metadata.

a.   API: Atlas provides rich set of REST APIs to perform CURD operations on types, classifications, glossary and lineage.

 

b.   Messaging: Apart from APIs, users can choose to integrate with Atlas using a messaging interface that is based on Kafka. Atlas uses Apache Kafka as a notification server for communication between hooks and downstream consumers of metadata notification events. Events are written by the hooks and Atlas to different Kafka topics.

 

 

Metadata sources

At the time of writing this post, Atlas support ingesting and managing metadata from the following sources.

 

a.   HBase

b.   Hive

c.    Sqoop

d.   Storm

e.   Kafka

 

 

Applications

Atlas metadata can be consumed by many applications. Atlas provides Atlas Admin UI and Ranger tag based policies out of the box.

 

a.   Atlas Admin UI: Apache Admin UI is a web application, internally use REST APIs to define metadata, classifications, glossary and perform search etc.,

b.   Tag based policies: Atlas is integrated with Apache Ranger to define metadata driven security policies for effective governance.

 


Previous                                                    Next                                                    Home

Apache Atlas tutorial

      Introduction to Apache Atlas
      Quick introduction to Data Catalog
            Key stakeholders of Data Catalog
            Is Data Catalog stores actual data?
            Data Inventory vs Data Catalog
            How a data catalog ensures data quality?
            How a data catalog ensures data Governance?
      Setup Apache atlas in embedded mode
      Apache Atlas: Load sample data
      Atlas: Type system
      Apache Atlas: Entities
      Apache Atlas: Entity vs Struct meta types
      Apache atlas: get the type definition by name
      Apache Atlas: core built-in types
      Apache Atlas: Define types, relationships and entities
      Quick Introduction to Data lineage
            Why do we need to answer the question 'where the data originated from?
            Why do we need to answer the question 'how it has been modified or enriched along the way?'
            Why do we need to answer the question 'which downstream processes or systems consume the data?
            Types of Data Lineage
                  Field level data lineage
                  Table level data lineage
                  Process level lineage
                  End to end lineage
                  Business Lineage
                  Physical lineage
                  Operational lineage
                  Forward Data lineage
                  Backward Data lineage
            Apache Atlas: data lineage example
      Apache Atlas: Create and attach classification to an entity
      Apache Atlas: Glossary, category and terms
      Apache Atlas: Advanced search
      Apache Atlas: See the audit reports
      Apache Atlas: example to add relationship between two entities
      Apache Atlas: Hard delete an entity
Previous                                                    Next                                                    Home

Sqoop: Incremental import

Using Sqoop incremental import, we can import the delta changes from previous import to current import.

 

For example, Suppose you imported employee table (with 50000 records) from RDBMS to HDFS yesterday. There are 1000 new records added to employee table today, do you really want to reimport all the 51000 records again to HDFS? No.

 

Using incremental import technique, we can onboard newly added records, updated records after previous sync to the HDFS.

 

Sqoop incremental modes

Sqoop supports two incremental modes.

a.   append mode: Use this mode, when you are only interested in adding newly created records to the existing dataset.

b.   lastmodified mode: Use this mode, when you want to import the data by updated time stamp.

Previous                                                    Next                                                    Home

Sqoop: staging table

In this post, I am going to explain the usage of staging table.

 

Suppose, you are exporting 1million records csv file to a RDBMS table using ‘sqoop export’ command. Since sqoop divide the task among multiple mappers, there is a possibility that a failure of one or more mapper tasks lead to partial export of the data. We can address this partial update problem using a staging table.

 

How to specify a staging table?

You can specify a staging table with the option ‘--staging-table’.

sqoop export \
--connect "jdbc:mysql://quickstart.cloudera:3306/staging_demo" \
--username "root" \
--password "cloudera" \
--table "employee" \
--staging-table "employee_stg" \
--export-dir /staging_table_demo/emp.csv

 

Staging table must have same structure like the target table. Staging table should either be empty before the export job run, or the --clear-staging-table option must be specified to empty the table before job runs.

 

When you specify a staging table while exporting the data, then data is first copied to the staging table first, if everything copied successfully, then the staged data is moved to the actual table in a single transaction.

 

 


Step 1: Let’s create staging_demo database and create employee table.

[cloudera@quickstart ~]$ mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 116
Server version: 5.1.73 Source distribution

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> 

 

‘cloudera’ is the password for cloudera quick start vm instance.

 

Create a database ‘staging_demo’.

mysql> CREATE DATABASE staging_demo;
Query OK, 1 row affected (0.00 sec)

 

Create employee and employee_stg tables.

CREATE TABLE employee (id INT, name VARCHAR(20), age INT, PRIMARY KEY (id));

CREATE TABLE employee_stg (id INT, name VARCHAR(20), age INT, PRIMARY KEY (id));

mysql> USE staging_demo;
Database changed
mysql> 
mysql> CREATE TABLE employee (id INT, name VARCHAR(20), age INT, PRIMARY KEY (id));
Query OK, 0 rows affected (0.02 sec)
mysql> 
mysql> CREATE TABLE employee_stg (id INT, name VARCHAR(20), age INT, PRIMARY KEY (id));
Query OK, 0 rows affected (0.01 sec)

 

Step 2: Copy emp.csv file to HDFS.

 

emp.csv

 

1,Ram,31
2,Krishna,32
3,Joel,41
4,Shankar,38
5,Shanthi,48
6,Sameer,29

[cloudera@quickstart ~]$ hadoop fs -mkdir /staging_table_demo
[cloudera@quickstart ~]$ 
[cloudera@quickstart ~]$ hadoop fs -copyFromLocal emp.csv /staging_table_demo
[cloudera@quickstart ~]$ 
[cloudera@quickstart ~]$ hadoop fs -ls /staging_table_demo
Found 1 items
-rw-r--r--   1 cloudera supergroup         71 2022-04-05 04:32 /staging_table_demo/emp.csv
[cloudera@quickstart ~]$ 
[cloudera@quickstart ~]$ hadoop fs -cat /staging_table_demo/*
1,Ram,31
2,Krishna,32
3,Joel,41
4,Shankar,38
5,Shanthi,48
6,Sameer,29

 

Step 3: Execute ‘sqoop export’ command by specifying staging table.

sqoop export \
--connect "jdbc:mysql://quickstart.cloudera:3306/staging_demo" \
--username "root" \
--password "cloudera" \
--table "employee" \
--staging-table "employee_stg" \
--export-dir /staging_table_demo/emp.csv

[cloudera@quickstart ~]$ sqoop export \
> --connect "jdbc:mysql://quickstart.cloudera:3306/staging_demo" \
> --username "root" \
> --password "cloudera" \
> --table "employee" \
> --staging-table "employee_stg" \
> --export-dir /staging_table_demo/emp.csv
Warning: /usr/lib/sqoop/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
22/04/05 04:54:45 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.13.0
22/04/05 04:54:45 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.
22/04/05 04:54:45 INFO manager.MySQLManager: Preparing to use a MySQL streaming resultset.
22/04/05 04:54:45 INFO tool.CodeGenTool: Beginning code generation
22/04/05 04:54:46 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM `employee` AS t LIMIT 1
22/04/05 04:54:46 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM `employee` AS t LIMIT 1
22/04/05 04:54:46 INFO orm.CompilationManager: HADOOP_MAPRED_HOME is /usr/lib/hadoop-mapreduce
Note: /tmp/sqoop-cloudera/compile/9bda8fb4f474836f64147d513cfe5e04/employee.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
22/04/05 04:54:48 INFO orm.CompilationManager: Writing jar file: /tmp/sqoop-cloudera/compile/9bda8fb4f474836f64147d513cfe5e04/employee.jar
22/04/05 04:54:48 INFO mapreduce.ExportJobBase: Data will be staged in the table: employee_stg
22/04/05 04:54:48 INFO mapreduce.ExportJobBase: Beginning export of employee
22/04/05 04:54:48 INFO Configuration.deprecation: mapred.job.tracker is deprecated. Instead, use mapreduce.jobtracker.address
22/04/05 04:54:48 INFO Configuration.deprecation: mapred.jar is deprecated. Instead, use mapreduce.job.jar
22/04/05 04:54:50 INFO Configuration.deprecation: mapred.reduce.tasks.speculative.execution is deprecated. Instead, use mapreduce.reduce.speculative
22/04/05 04:54:50 INFO Configuration.deprecation: mapred.map.tasks.speculative.execution is deprecated. Instead, use mapreduce.map.speculative
22/04/05 04:54:50 INFO Configuration.deprecation: mapred.map.tasks is deprecated. Instead, use mapreduce.job.maps
22/04/05 04:54:50 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
22/04/05 04:54:50 WARN hdfs.DFSClient: Caught exception 
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Thread.join(Thread.java:1281)
	at java.lang.Thread.join(Thread.java:1355)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeResponder(DFSOutputStream.java:967)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.endBlock(DFSOutputStream.java:705)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:894)
22/04/05 04:54:51 WARN hdfs.DFSClient: Caught exception 
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Thread.join(Thread.java:1281)
	at java.lang.Thread.join(Thread.java:1355)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeResponder(DFSOutputStream.java:967)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.endBlock(DFSOutputStream.java:705)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:894)
22/04/05 04:54:51 WARN hdfs.DFSClient: Caught exception 
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Thread.join(Thread.java:1281)
	at java.lang.Thread.join(Thread.java:1355)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeResponder(DFSOutputStream.java:967)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.endBlock(DFSOutputStream.java:705)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:894)
22/04/05 04:54:51 WARN hdfs.DFSClient: Caught exception 
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Thread.join(Thread.java:1281)
	at java.lang.Thread.join(Thread.java:1355)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeResponder(DFSOutputStream.java:967)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.endBlock(DFSOutputStream.java:705)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:894)
22/04/05 04:54:51 WARN hdfs.DFSClient: Caught exception 
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Thread.join(Thread.java:1281)
	at java.lang.Thread.join(Thread.java:1355)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeResponder(DFSOutputStream.java:967)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.endBlock(DFSOutputStream.java:705)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:894)
22/04/05 04:54:51 WARN hdfs.DFSClient: Caught exception 
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Thread.join(Thread.java:1281)
	at java.lang.Thread.join(Thread.java:1355)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeResponder(DFSOutputStream.java:967)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.endBlock(DFSOutputStream.java:705)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:894)
22/04/05 04:54:51 WARN hdfs.DFSClient: Caught exception 
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Thread.join(Thread.java:1281)
	at java.lang.Thread.join(Thread.java:1355)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeResponder(DFSOutputStream.java:967)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.endBlock(DFSOutputStream.java:705)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:894)
22/04/05 04:54:51 INFO input.FileInputFormat: Total input paths to process : 1
22/04/05 04:54:51 INFO input.FileInputFormat: Total input paths to process : 1
22/04/05 04:54:51 WARN hdfs.DFSClient: Caught exception 
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Thread.join(Thread.java:1281)
	at java.lang.Thread.join(Thread.java:1355)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeResponder(DFSOutputStream.java:967)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.endBlock(DFSOutputStream.java:705)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:894)
22/04/05 04:54:51 WARN hdfs.DFSClient: Caught exception 
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Thread.join(Thread.java:1281)
	at java.lang.Thread.join(Thread.java:1355)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeResponder(DFSOutputStream.java:967)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.endBlock(DFSOutputStream.java:705)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:894)
22/04/05 04:54:51 INFO mapreduce.JobSubmitter: number of splits:4
22/04/05 04:54:51 INFO Configuration.deprecation: mapred.map.tasks.speculative.execution is deprecated. Instead, use mapreduce.map.speculative
22/04/05 04:54:51 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1649003113144_0016
22/04/05 04:54:52 INFO impl.YarnClientImpl: Submitted application application_1649003113144_0016
22/04/05 04:54:52 INFO mapreduce.Job: The url to track the job: http://quickstart.cloudera:8088/proxy/application_1649003113144_0016/
22/04/05 04:54:52 INFO mapreduce.Job: Running job: job_1649003113144_0016
22/04/05 04:55:00 INFO mapreduce.Job: Job job_1649003113144_0016 running in uber mode : false
22/04/05 04:55:00 INFO mapreduce.Job:  map 0% reduce 0%
22/04/05 04:55:16 INFO mapreduce.Job:  map 25% reduce 0%
22/04/05 04:55:18 INFO mapreduce.Job:  map 50% reduce 0%
22/04/05 04:55:20 INFO mapreduce.Job:  map 100% reduce 0%
22/04/05 04:55:20 INFO mapreduce.Job: Job job_1649003113144_0016 completed successfully
22/04/05 04:55:20 INFO mapreduce.Job: Counters: 30
	File System Counters
		FILE: Number of bytes read=0
		FILE: Number of bytes written=684480
		FILE: Number of read operations=0
		FILE: Number of large read operations=0
		FILE: Number of write operations=0
		HDFS: Number of bytes read=834
		HDFS: Number of bytes written=0
		HDFS: Number of read operations=19
		HDFS: Number of large read operations=0
		HDFS: Number of write operations=0
	Job Counters 
		Launched map tasks=4
		Data-local map tasks=4
		Total time spent by all maps in occupied slots (ms)=61940
		Total time spent by all reduces in occupied slots (ms)=0
		Total time spent by all map tasks (ms)=61940
		Total vcore-milliseconds taken by all map tasks=61940
		Total megabyte-milliseconds taken by all map tasks=63426560
	Map-Reduce Framework
		Map input records=6
		Map output records=6
		Input split bytes=631
		Spilled Records=0
		Failed Shuffles=0
		Merged Map outputs=0
		GC time elapsed (ms)=700
		CPU time spent (ms)=2300
		Physical memory (bytes) snapshot=493535232
		Virtual memory (bytes) snapshot=6032359424
		Total committed heap usage (bytes)=243007488
	File Input Format Counters 
		Bytes Read=0
	File Output Format Counters 
		Bytes Written=0
22/04/05 04:55:20 INFO mapreduce.ExportJobBase: Transferred 834 bytes in 30.7745 seconds (27.1003 bytes/sec)
22/04/05 04:55:20 INFO mapreduce.ExportJobBase: Exported 6 records.
22/04/05 04:55:20 INFO mapreduce.ExportJobBase: Starting to migrate data from staging table to destination.
22/04/05 04:55:20 INFO manager.SqlManager: Migrated 6 records from `employee_stg` to `employee`
[cloudera@quickstart ~]$

 

Let’s query employee table.

mysql> SELECT * FROM employee;
+----+---------+------+
| id | name    | age  |
+----+---------+------+
|  1 | Ram     |   31 |
|  2 | Krishna |   32 |
|  3 | Joel    |   41 |
|  4 | Shankar |   38 |
|  5 | Shanthi |   48 |
|  6 | Sameer  |   29 |
+----+---------+------+
6 rows in set (0.01 sec)

  Since upon job success, data will be moved from staging table to actual table, you will see nothing in staging table.

mysql> SELECT * FROM employee_stg;
Empty set (0.00 sec)

 

Suppose if the job fail in between, then you might see some partial records in the staging table.

 


 

Previous                                                    Next                                                    Home